lineman-angular

0.3.0 • Public • Published

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"
   }
 }

Package Sidebar

Install

npm i lineman-angular

Weekly Downloads

2,513

Version

0.3.0

License

none

Last publish

Collaborators

  • dustin.tinney
  • mike.testdouble
  • davemo
  • searls