$route is used for deep-linking URLs to controllers and views (HTML partials). It watches $location.url() and tries to map the path to an existing route definition.
$route
$location.url()
The $routeParams service allows you to retrieve the current set of route parameters.
$routeParams
© 2010–2020 Google, Inc.Licensed under the Creative Commons Attribution License 3.0. https://code.angularjs.org/1.8.2/docs/api/ngRoute/service