dougmoscrop / angularjs-templates-brunch

Compile templates in to an AngularJS module as a Brunch plugin
MIT License
5 stars 8 forks source link

Add examples to README #2

Open emilsoman opened 9 years ago

emilsoman commented 9 years ago

It'd be nice if an example can be added, or even better point to a sample app to show how this can be used. What I'd like to see specifically is, since each template is wrapped inside its own module, do we need to require each of these modules separately before using that template ?

dougmoscrop commented 9 years ago

Sorry for the slow reply. I agree some examples could be useful... however, in response to your exact question, each template is not wrapped in it's own module. The README for options -> module states:

Specify the module to place the templates in

This is singular on purpose. Would it help if this was just a more complete sentence?