mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 08:56:08 +08:00
5f70d615a5f7e102424c6adc15d7a6f697870b6e
The purpose of allowing the scope to be specified was to enable the $route service to work together with ngInclude. However the functionality of creating scopes was in the recent past moved from the $route service to the ngView directive, so currently there is no valid use case for specifying the scope for ngInclude. In fact, allowing the scope to be defined can under certain circumstances lead to memory leaks. Breaks ngInclude does not have scope attribute anymore.
AngularJS
- Web site: http://angularjs.org
- Tutorial: http://docs.angularjs.org/#!/tutorial
- API Docs: http://docs.angularjs.org
- Developer Guide: http://docs.angularjs.org/#!/guide
Compiling
rake compile
Running Tests
./server.sh # start the server
open http://localhost:9876/capture # capture browser
./test.sh # run all unit tests
Languages
JavaScript
98.8%
HTML
0.6%
Shell
0.4%
PHP
0.1%