dependencies
: the dependencies you want to make available in middleware and plugins, see dependency injection​router
: the router instance to clonedependencies
: the new dependencies, for the cloned router (optional)startPathOrState
: a starting path (string) or state (object). When using browserPlugin
, this argument is optional: path will be read from the document locationdone
: a done callback (done(err, state)
)routeName
: the name of the route to navigate torouteParams
: the route paramsoptions
: options for the transition (replace
, reload
, skipTransition
, force
or any custom option)done
: a done callback (done(err, state)
)canDeactivate
handler for the provided route namename
: the route nameparams
: the route paramsstrictEquality
: whether to check if the given route is the active route, or a descendant of the active route (false
by default)ignoreQueryParams
: whether to ignore query params (true
by default)