mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
the `nextRoute` object available in `$routeChangeStart` handler accidentaly leaked property which pointed to the route definition currently being matched. this was done just for the internal needs of the `$route` implementation and was never documented as public api. Some confusion arouse around why the $route property was not always available on the `nextRoute` object (see #1907). The right thing for us to do is to prefix the property with $$ for now and refactor the code to remove the property completely in the future. Application developers should use the `nextRoute` object itself rather than its `$route` property. The main diff is that nextRoute inherits from the object referenced by $route. BREAKING CHANGE: in $routeChangeStart event, nextRoute.$route property is gone. Use the nextRoute object instead of nextRoute.$route. Closes #1907 |
||
|---|---|---|
| .. | ||
| auto | ||
| bootstrap | ||
| ng | ||
| ngCookies | ||
| ngLocale | ||
| ngMock | ||
| ngResource | ||
| ngSanitize | ||
| ngScenario | ||
| angular-bootstrap.js | ||
| Angular.js | ||
| angular.prefix | ||
| angular.suffix | ||
| AngularPublic.js | ||
| apis.js | ||
| jqLite.js | ||
| loader.js | ||
| loader.prefix | ||
| loader.suffix | ||
| module.prefix | ||
| module.suffix | ||
| publishExternalApis.js | ||