Sunday, May 24, 2015
WebStorm JetBrains - install and run sample AngularJS app
1. Install WebStorm
2. Install NodeJS
3. Check it is installed:
C:\Users\Andre>npm -version
2.10.1
4. Run from the AngularJS root project directory npm install:
e.g. listed below.
5. In order to debbug JavaScript check that your Chrome has jetbrains-ide-support extension. If it is not installed look for it here: https://chrome.google.com/webstore/detail/jetbrains-ide-support/hmhgeddbohgjknpmjagkdomcpobmllji
2. Install NodeJS
3. Check it is installed:
C:\Users\Andre>npm -version
2.10.1
4. Run from the AngularJS root project directory npm install:
e.g. listed below.
5. In order to debbug JavaScript check that your Chrome has jetbrains-ide-support extension. If it is not installed look for it here: https://chrome.google.com/webstore/detail/jetbrains-ide-support/hmhgeddbohgjknpmjagkdomcpobmllji
JavaScript - testing tools: Jasmine (BDD), JsUnit, Karma (test runner)
1. Jasmine http://jasmine.github.io/ is the priority for testing, due to its BDD approach.
2. JsUnit is an option (w/o BDD):http://www.jsunit.net/
3. Karma http://karma-runner.github.io/0.12/index.html - it is JavaScript test runner.
2. JsUnit is an option (w/o BDD):http://www.jsunit.net/
3. Karma http://karma-runner.github.io/0.12/index.html - it is JavaScript test runner.
AngularJS + Bootstrap best practice
The main point: with AngularJS use pure CSS Bootstrap (don't use BootstrapJS)
https://scotch.io/tutorials/how-to-correctly-use-bootstrapjs-and-angularjs-together
angular.bootstrap - function in module ng: https://docs.angularjs.org/api/ng/function/angular.bootstrap
https://scotch.io/tutorials/how-to-correctly-use-bootstrapjs-and-angularjs-together
angular.bootstrap - function in module ng: https://docs.angularjs.org/api/ng/function/angular.bootstrap
w3schools.com http://www.w3schools.com/angular/angular_bootstrap.asp
Subscribe to:
Posts (Atom)