Closed ErikAugust closed 8 years ago
@ErikAugust — Great question!
The 2 most common ways would be to:
template
property (see AngularJS docs for exact syntax).src
directory and use a plugin like gulp-html2js to generate Angular code that primes the Angular template cache with your template. UI-Bootstrap uses this approach.Does that answer your question? Thanks!
@jvandemo - Makes sense, thanks for the help!
@ErikAugust — Welcome Erik, let us know how it went. Thanks!
Is there a recommended directory for adding directive HTML templates? Thank you!