AngularJS Foundations

Routes

  • $route is used for deep linking URLs to Controllers and Views
  • Define routes using $routeProvider
  • Typically used in conjunction with ngView directive and $routeParams service

参考

https://docs.angularjs.org/api/ngRoute/service/$route