Hi, You should check out ui-router. https://github.com/angular-ui/ui-router
Nolan On Mon, Dec 1, 2014 at 6:55 AM, <[email protected]> wrote: > Hi, > > I'm new to angular and had difficulty to grasp some concept. > > For exemple I built a TableCtrl > > It displays a list of item and use a service to select items, with it you > can add, delete rows. > > What escape me is how to use the same controler 2 different views. Say one > displaying my clients and one displaying projects. > > How to affect the right itme list to each controller, if a use service to > manage my model the service containing the 2 lists ? > > Regards, > > > >> > -- > 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. > -- 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.
