.start(), you should supply a starting path or state except if you use the browser plugin (the current URL will automatically be used).
.start(startPathOrState[, done])function will:
startPathOrStatewas provided, or navigation failed
startPathOrStatewas not provided / failed
createRouteroptions. The following example will cause your application to navigate to
navigate(routeName, routeParams, opts). This method has to be called for navigating to a different route: clicks on links won't be intercepted by the router.
reloadis set to
replaceto true for replacing the current state in history when navigating to a new route. Default behaviour is to add an entry in history.
navigate: those options will be added to the state of your router (under
.navigate()accepts a callback (last argument):