Open ghost opened 9 years ago
With ui-router (among others) we could simply tack on arbitrary properties and access those from our controller.
{ path: '/foo', component: 'bar', extraFancyAdditionalProperty: 42 }
How do I programmatically access the route and its properties from my controllers?
With ui-router (among others) we could simply tack on arbitrary properties and access those from our controller.
{ path: '/foo', component: 'bar', extraFancyAdditionalProperty: 42 }
How do I programmatically access the route and its properties from my controllers?