when(path, route);
Adds a new route definition to the $route
service.
Parameters
Param | Type | Details |
---|---|---|
path | string | Route path (matched against
|
route | Object | Mapping information to be assigned to Object properties:
|
Returns
Object |
self |
Please login to continue.