Closed ghost closed 9 years ago
same issue. Any solution?
I also would like to know how this works.
It's router.navigate()
or router.navigateByUrl()
depending on what you have available to route to a component.
Also keep in mind that this repo here is on hold and that all the development is happening over at http://github.com/angular/angular.
ok and thanks a lot :)
What's the "official" programmatic equivalent of ng-link to execute from within your controller? Whether with the basic router or the ui-router, and now with the new router, we rarely declare links directly in the markup. More typically, we click something, do something, then programmatically navigate.