activate

route.activate()

Activates the current route - the equivalent of doing $router.push(route.path). Activate can also be called with an options object in order to specify queries, params, or a hash. If a route has params, it must be called with a params option or it will fail.

route.activate();
// or
route.activate({ params : { userId : 'foo' }, query : { foo : 'bah' } });

results matching ""

    No results matching ""