generator-devialab-angular v0.2.0
AngularJS generator by Devialab
An AngularJS generator for generic Devialab webapp project
Yeoman generator for AngularJS - lets you quickly set up a project with sensible defaults and best practices.
Usage
Install yo, grunt-cli, bower and generator-devialab-angular:
npm install -g grunt-cli bower yo generator-devialab-angularMake a new directory, and cd into it:
mkdir my-new-project && cd $_Run yo devialab-angular:
yo devialab-angularRun grunt for building and grunt serve for preview
Generators
Available generators:
- devialab-angular (aka devialab-angular:app)
- devialab-angular:module (aka devialab-angular:module)
- devialab-angular:directive (aka devialab-angular:directive)
App
Sets up a new AngularJS app, generating all the boilerplate you need to get started. The app generator also optionally installs Bootstrap and additional AngularJS modules, such as angular-translate, angularitics, ...
Example:
yo devialab-angularModule
Sets up a new AngularJS module, generating all the boilerplate you need to define a new module.
Example:
yo devialab-angular:moduleDirective
Sets up a new AngularJS directive, generating all the boilerplate you need to define a new element directive.
Example:
yo devialab-angular:directiveBower Components
The following packages are always installed by the app generator:
- angular
- angular-mocks
- angular-bootstrap
- angular-translate
- angular-sanitize
- angular-ui-router
- angular-corbel
- ngstorage
- angulartics
- angular-moment
The following additional modules are available as components on bower, and installable via bower install:
- angular-animate
- angular-aria
- angular-cookies
- angular-messages
- angular-resource
All of these can be updated with bower update as new versions of AngularJS are released.