artch/angular-route-segment

Resolve/inject not working with angular 1.5 component

Opened this issue · 0 comments

I am tried to move from controller toward using the new angular 1.5 component model and then I tried to put the new element in the template of a route-segment declaration (template: '</newcomponent') with a bunch of resolve that used to work when I was using Controller. Of course I removed the controller, controllerAs and templateUIr statement. But it complains in the component controller that the elements were not injected properly.