ngRoute.$route

Improve this Doc View Source $route

  1. $routeProvider
  2. service in module ngRoute

$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.

Requires the 登录查看完整内容