Skip to content

usage of new angular router #6

@maku

Description

@maku

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions