This starter kit uses the latest versions of the following libraries:
-
Install Node
- on OSX install home brew and type
brew install node
- on OSX install home brew and type
-
Open terminal
- Type
npm install -g node-inspector bower gulp karma karma-cli
- Type
- Clone this repo from
https://github.com/oshri/angular-starter.git - Run
npm installfrom the root directory
1. gulp serve-dev
a. starts a dev server via browser-sync, serving the client folder
& watch for scss and js changes, rebuilds and then refreshes the browser.
2. gulp test
a. Runs all test files in command line. matching *.spec.js inside the app/**/**/test/unit/ folder.
3. gulp serve-spec
a. This launcher is typically used in CI to run your unit tests across many browsers and platforms on Sauce Labs. However, you can also use it locally to debug tests in browsers not available on your machine.
4. gulp clean
a. Remove all files from the temp folder.
5. gulp lint
6. gulp bump
-
Module
- moduleName.mdl.js
-
Controller
- controllerName.ctrl.js
-
Service
- serviceName.srv.js
-
Directive ( Component )
- directiveName.dir.js
-
View ( Template )
- templateName.tpl.html
-
Filter
- filterName.fil.js