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.
