Why do you move all your HTML templates to another static server? Is there 
any reason why you are not packaging these templates with one final 
concatenated JS using $templateCache?


On Wednesday, November 5, 2014 5:15:35 PM UTC+5:30, Антон Кузнецов wrote:
>
> Hi!
>
> I have a problem on my current project with *templateUrl*s for 
> Controllers and Directives.
> At the moment I have one server, one domain name, for example: 
> *servername.com 
> <http://servername.com>*.
> Our static files migrates to another domain like: *static.anotherdomain.com 
> <http://static.anotherdomain.com>*
>
> How can I bind *templateUrl* prefix for all my Angular templates in one 
> place instead replace all urls? Is it possible?
>

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