Created
April 18, 2013 22:39
-
-
Save armstrongnate/5416800 to your computer and use it in GitHub Desktop.
Notes about Angular.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raw angular app: | |
Make sure karma is installed | |
>> npm install -g karma | |
Clone bare angular app from angular tutorial | |
>> git clone git://github.com/angular/angular-phonecat.git | |
>> git checkout -f step-0 | |
Run the server: | |
>> ./scripts/web-server.js | |
$scope. is equivalent to '@' in rails in that it is the glue between views and controllers. Difference is you don't need '$scope.' in front of variables in views. | |
Tests | |
Run tests: | |
>> ./scripts/test.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment