refactor(router): rename navigate and navigateInstruction methods

This commit is contained in:
Brian Ford
2015-09-08 21:41:56 -07:00
parent 5e49d7e624
commit acc2722cb8
17 changed files with 126 additions and 125 deletions

View File

@ -307,7 +307,7 @@ function anchorLinkDirective($router) {
var href = element.attr(hrefAttrName);
if (href && $router.recognize(href)) {
$router.navigate(href);
$router.navigateByUrl(href);
event.preventDefault();
}
});