This repo contains the Lab project for the AngularJS Training. for more details, have a look at http://got5.github.io/TrainingAngularJS
Install a follow components
Use "sudo" to build with Mac and Linux
install Node.js
Configure NPM proxy
npm config set proxy http://[proxy]:[PORT]
npm config set https-proxy http://[proxy]:[PORT]
install Bower
npm install -g bower
install bower lib
bower install
Install Karma
npm install -g karma-cli
npm install -g karma
npm install -g karma-chrome-launcher
npm install -g karma-jasmine
Execute Unit Tests
launch tests
cd test
karma start karma.conf.js
grunt test:unit
Launch server
node server
Application is now running in :
localhost:3000
Here are the solutions for the different online exercice :
- Slide 24 - Two-Way Data Binding Magic
- [Slide 29 - Expressions in AngularJS] (https://gist.github.com/got5/a8fade483f338178dd7b)
- Slide 39 - Use of $watch by Angular
- Slide 46 - To conclude about controllers..
- Slide 67 - Main Angular services: $http
- Slide 114 - Native Angular directives
- Slide 115 - Using the link function
- Slide 125 - Using the scope property
- Slide 130 - Creating new directives
- Slide 137 - Let's use Angular Filters!
- Slide 144 - Using form validation methods
- Immediately-invoked Function Expressions
- support for script-async for IE>10
- difference between angular-route and angular-ui-router
- ESLint rules for AngularJS project
- How to integrate ESLint inside SuublimeText (French)
- Debugging AngularJS Apps from the Console
- L'API Promise d'AngularJS (FR)
- $http success versus then