marklagendijk / ui-router.stateHelper

A helper module for AngularUI Router, which allows you to define your states as an object tree.
MIT License
235 stars 40 forks source link

component is not triggered #32

Open DesatTomas opened 6 years ago

DesatTomas commented 6 years ago

Hi,

according ui-router doc you are allow to write:

.state('userlist', { url: '/users', component: 'users', // The component's name });

When I try to do the same in stateHelper, component is not triggered. { name: 'someName', url: '/users', component: 'users', } Is there reason why this is not supported or am I doing just something wrong?

thank you Tomas