ngRoute.$routeProvider.otherwise()

otherwise(params);

Sets route definition that will be used on route change when no other route definition is matched.

Parameters

Param Type Details
params Objectstring

Mapping information to be assigned to $route.current. If called with a string, the value maps to redirectTo.

Returns

Object

self

doc_AngularJS
2016-03-29 16:12:26
Comments
Leave a Comment

Please login to continue.