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-01-06 03:54:42 +00:00
|
|
|
|
* API Docs: http://docs.angularjs.org
|
2012-07-02 15:19:14 +00:00
|
|
|
|
* Developer Guide: http://docs.angularjs.org/guide
|
2010-03-15 21:41:28 +00:00
|
|
|
|
|
|
|
|
|
|
Compiling
|
|
|
|
|
|
---------
|
|
|
|
|
|
rake compile
|
|
|
|
|
|
|
|
|
|
|
|
Running Tests
|
|
|
|
|
|
-------------
|
2012-01-06 03:54:42 +00:00
|
|
|
|
./server.sh # start the server
|
|
|
|
|
|
open http://localhost:9876/capture # capture browser
|
|
|
|
|
|
./test.sh # run all unit tests
|
|
|
|
|
|
|
2010-03-15 21:41:28 +00:00
|
|
|
|
|