Hi, I'm beginner in AngularJS and I have a question about downloading 
templates.
Right now I have sth like this:

<body>
  <page-head></page-head> <!-- Template 1 -->
  <ng-view></ng-view> <!-- Template 2 -->
  <page-footer></page-footer> <!-- Template 3 -->
</body>

but I need to put <page-head> into templates which are loading in <ng-view> 
because <page-head> depends on that templates and changes (i need to add 
class sometimes).

And here's my question:
If browser once download tmp to <ng-view> which has <page-head> tmp, does 
it keep it in a cache or browser downloads <page-head> template every time 
it loads a new tmp into <ng-view> which also has the same <page-head> 
template inside.

I'm hope that is a bit clear for you guys and sorry for my english :)

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