ngRoute.$route.updateParams()

updateParams(newParams);

Causes $route service to update the current URL, replacing current route parameters with those specified in newParams. Provided property names that match the route's path segment definitions will be interpolated into the location's path, while remaining properties will be treated as query params.

Parameters

Param Type Details
newParams !Object<string, string>

mapping of URL parameter names to values

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

Please login to continue.