linemanjs / lineman-angular-template

A Lineman Application Template using AngularJS
251 stars 88 forks source link

Unable to use ng-include with this setup. #46

Closed un33k closed 10 years ago

un33k commented 10 years ago

It is nice to drop the header (navbar) & the footer in their own template files and just use ng-include to pull them in.

Is there a way to use ng-include with this setup?

davemo commented 10 years ago

This setup precompiles into the angular template cache, as long as you provide the string that matches that path to that template in your ng-include it should work fine.

Take a peek inside generated/angular/template-cache.js to see how your templates are compiled.