Played around with directives over lunch and have a skeleton that seems to be leading down the right path, but it's not obvious how to 'link' in another module. Currently I'm just using 'element.text' inside 'scope.$watch'. Need to spend more time reading about '$compile'.
On Friday, October 17, 2014 3:45:39 AM UTC, Elric Erkose wrote: > > Suppose I have a single page app consisting of a menu sidebar and a main > content area. When I click on a menu sidebar item, I want the content area > to change content based on the menu sidebar item selected. This might > involve fetching data and presenting that data in a menu specific template. > Don't worry about fetching data, I know how to do this. I do not wish to > see the url change (no '#hash' solutions please). This is trivial to > accomplish with meteor, so I'm wondering if it is possible with angular. > -- 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.
