fix(router): preserve fragment on initial load

This commit is contained in:
vsavkin
2016-06-25 11:51:15 -07:00
parent a620f95891
commit 90295e3252
6 changed files with 15 additions and 8 deletions

View File

@ -123,7 +123,7 @@ export class Router {
*/
initialNavigation(): void {
this.setUpLocationChangeListener();
this.navigateByUrl(this.location.path());
this.navigateByUrl(this.location.path(true));
}
/**