Use for ngRoute, the built-in routing module in AngularJS, which can map the browser URL to a defined 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.
Routes can be defined through the $routeProvider
API. The $route
service is typically used in conjunction with ngView
directive and the $routeParams
service.
See: