updateParams(newParams); Causes $route service to update the current URL, replacing current route parameters with those
when(path, route); Adds a new route definition to the $route service. Parameters
Page 2 of 2