It worked like a dream!!!!!  I now have gulp building the template and node
serving it for testing.  It also works from file:///

Thanks guys

On Mon, Jul 13, 2015 at 9:12 AM, Jaco De Villiers <[email protected]> wrote:

> Thanks Sander, that sounds like the solution.  It will allow me to develop
> in a structured site and deploy to single page site with templates as js
> files.  I will update this post with my progress when I get a chance to play
>
> On Sun, Jul 12, 2015 at 2:53 PM, Sander Elias <[email protected]>
> wrote:
>
>> Hi Jaco,
>>
>> If you are using a gulp, have a look at gulp-angular-templatecache
>> <https://github.com/miickel/gulp-angular-templatecache>. I believer
>> there is also a grunt version.
>> What this does, is it puts all your template files into a .js file that
>> you can load just as any other JS file. This js file does prefill the
>> $templateCache for you, so you don't have to change anything else.
>> I prefer this tool over the ng-html tool that Pete referenced, but they
>> are very similair.
>>
>> Regards
>> Sander
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "AngularJS" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/angular/GEai2j2pCMI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to