mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-04 17:08:17 +08:00
1084ccf7ef8d087e77f2d7197222ab7904fd3fb7
- $locationProvider.html5Mode - $locationProvider.hashPrefix Docs example is basically a different application on the same page, but we don't want to instantiate multiple instances of $browser or $location service, so we are overriding these providers to return the instances from parent app. Overriding the service with $provide.value caused a provider to be auto-generated without the necessary hashPrefix and html5Mode apis.
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%