I was looking for the same answer and found this link: https://github.com/btford/phone-kitten Hope this helps somebody.
On Monday, March 9, 2015 at 8:34:45 AM UTC-7, Rentius Engelbrecht wrote: > > Hi > > I'm using Angular 1.3 and want to incorporate the ngNewRouter. > Is there a way to configure the ngNewRouter when a module starts up? > > I configure the routes per module as the module is created. i.e main app > module has route config of "/home" or "/", I inject the $routeProvider into > the config and set the routes. > The categories module configures its own routes "/categories". i.e when > the module for categories is create I inject the $routeProvider into the > config and set the routes. > > I do not want the main module to configure the routes to categories. Each > module configures its routes in isolation. > > 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.
