mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-04 08:58:16 +08:00
f13dd3393dfb7a33565c9360342c193bc0bddcb6
this is to enable nicer tests:
describe('fooSvc', function() {
var fooSvc;
beforeEach(inject(function(_fooSvc_) {
fooSvc = _fooSvc_;
}));
it('should do this thing', function() {
//test fooSvc
});
});
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%