Currently I have no idea how to use the new angular router (https://github.com/angular/router) together with angular-next.
In angular-next I have a component (e.g. with a template).
When I define a route I do the following:
e.g.
$router.config([ { path: '/login', component: 'login' }, ]);
This def. does some magic regarding name resolution (eg. it would assume a login.html in components/login and also a LoginController)
Any ideas for usage in angular-next (where I have a component with a template)?
Currently I have no idea how to use the new angular router (https://github.com/angular/router) together with angular-next.
In angular-next I have a component (e.g. with a template).
When I define a route I do the following:
e.g.
$router.config([ { path: '/login', component: 'login' }, ]);This def. does some magic regarding name resolution (eg. it would assume a login.html in components/login and also a LoginController)
Any ideas for usage in angular-next (where I have a component with a template)?