lineman-angular
v0.3.0
Published
An Angular.js plugin for Lineman
Downloads
13,269
Readme
lineman-angular
This is a plugin to get started with Angular.js using Lineman. We recommend you look at our Angular template project as a starting point.
What's this plugin do?
This plugin will configure your lineman project to incorporate:
- grunt-ng-annotate to handle minification, replacing uglify, in order to deal with Angular's function#toString()'ing to figure out what to inject into your methods.
- grunt-angular-templates to compile the client-side
*.html
templates you add toapp/templates
Notes
Keep in mind that grunt-angular-templates
assumes that your module is named app. You'll need to override that in your lineman project if you'd like your templates on some other module, like so:
ngtemplates: {
options: {
module: "myModuleName"
}
}