2012-01-06 03:54:42 +00:00
|
|
|
|
AngularJS
|
|
|
|
|
|
=========
|
|
|
|
|
|
|
2012-07-02 15:19:14 +00:00
|
|
|
|
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets use
|
|
|
|
|
|
good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s
|
|
|
|
|
|
syntax to express your application’s components clearly and succinctly. It automatically
|
|
|
|
|
|
synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data
|
|
|
|
|
|
binding. To help you structure your application better and make it easy to test AngularJS teaches
|
|
|
|
|
|
the browser how to do dependency injection and inversion of control. Oh yeah and it also helps with
|
|
|
|
|
|
server-side communication, taming async callbacks with promises and deferreds; and make client-side
|
2012-07-02 15:19:14 +00:00
|
|
|
|
navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. The best of all:
|
|
|
|
|
|
it makes development fun!
|
2012-07-02 15:19:14 +00:00
|
|
|
|
|
2012-01-06 03:54:42 +00:00
|
|
|
|
* Web site: http://angularjs.org
|
2012-07-02 15:19:14 +00:00
|
|
|
|
* Tutorial: http://docs.angularjs.org/tutorial
|
2012-10-10 03:57:58 +00:00
|
|
|
|
* API Docs: http://docs.angularjs.org/api
|
2012-07-02 15:19:14 +00:00
|
|
|
|
* Developer Guide: http://docs.angularjs.org/guide
|
2012-09-17 21:50:07 +00:00
|
|
|
|
* Contribution guidelines: http://docs.angularjs.org/misc/contribute
|
2010-03-15 21:41:28 +00:00
|
|
|
|
|
2012-09-17 21:50:07 +00:00
|
|
|
|
Building AngularJS
|
2010-03-15 21:41:28 +00:00
|
|
|
|
---------
|
2012-09-17 21:50:07 +00:00
|
|
|
|
[Once you have your environment setup](http://docs.angularjs.org/misc/contribute) just run:
|
|
|
|
|
|
|
|
|
|
|
|
rake package
|
|
|
|
|
|
|
2010-03-15 21:41:28 +00:00
|
|
|
|
|
|
|
|
|
|
Running Tests
|
|
|
|
|
|
-------------
|
2012-09-17 21:50:07 +00:00
|
|
|
|
Running tests requires installation of [Testacular](http://vojtajina.github.com/testacular):
|
|
|
|
|
|
|
|
|
|
|
|
sudo npm install -g testacular
|
|
|
|
|
|
|
|
|
|
|
|
To execute all unit tests, use:
|
|
|
|
|
|
|
|
|
|
|
|
rake test:unit
|
|
|
|
|
|
|
|
|
|
|
|
To execute end-to-end (e2e) tests, use:
|
2012-01-06 03:54:42 +00:00
|
|
|
|
|
2012-09-17 21:50:07 +00:00
|
|
|
|
rake package
|
|
|
|
|
|
rake webserver &
|
|
|
|
|
|
rake test:e2e
|
2010-03-15 21:41:28 +00:00
|
|
|
|
|
2012-09-17 21:50:07 +00:00
|
|
|
|
To learn more about the rake tasks, run `rake -T` and also read our
|
|
|
|
|
|
[contribution guidelines](http://docs.angularjs.org/misc/contribute) and instructions in this
|
|
|
|
|
|
[commit message](https://github.com/angular/angular.js/commit/9d168f058f9c6d7eeae0daa7cb72ea4e02a0003a).
|