Hi,
Thanks.

   1. Do you mean "nested controllers"? Like <div 
   ng-controller="menuCtrlr"><div ng-controller="viewCtrlr"></div</div>
   2. I've found your answer regarding $formatter 
   
(https://groups.google.com/forum/#!searchin/angular/Sander%7Csort:date/angular/ikEnKkoAUF8/qt21aRgu8iAJ)
 
   but could not make the connection to my case with that. Is this the one?

Thanks again :)

On Monday, April 7, 2014 2:37:18 PM UTC+3, Yonatan Kra wrote:
>
> Hi,
> I have built a nice app with angular js and it's working fine.  I have 2 
> questions that are quite similar:
>
>    1. I have a menu that's the same for all of my routes/views. The 
>    reason the menu is inside the view and not static in the main index.html 
> is 
>    that I need data from services and the scope to populate the menu. Is 
> there 
>    a way to make the menu "static" and not load with every route/view change?
>    2. I have a directive that is common to many views in my *SPA*. Is 
>    there a way to keep this directive from recompiling on every view change 
>    when it already exists in the referring view?
>
> Thanks :)
>

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