Closed tbosch closed 11 years ago
+1
Another cool feature would it be to directly inject the url parameters in the onActivate
method. E.g.
$routeProvider.when('/:someUrlParam', {
resolve: {
someResolveParam: 'foo'
},
onActivate: 'init(someUrlParam, someResolveParam)'
}
This idea came up in issue #103, see the example there.
Tobias