Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 889 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 889 Bytes

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 to app/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"
   }
 }