Changed router.navigate to return true if the url was navigated to using history pushstate.