angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

Need access to the selected routing configuration inside the component. #363

Open ghost opened 9 years ago

ghost commented 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?