angular.js/src
Igor Minar 6f71e80914 fix($route): make nextRoute.$route private
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
2013-03-08 12:00:34 -08:00
..
auto docs($injector): clarify $inject property description 2013-01-24 00:15:32 -05:00
bootstrap fix(docs): properly generate angular.js urls in doc examples 2013-01-24 11:36:03 -08:00
ng fix($route): make nextRoute.$route private 2013-03-08 12:00:34 -08:00
ngCookies docs($cookies): added example to $cookies api docs 2013-01-29 16:16:17 -08:00
ngLocale chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
ngMock docs(ngMock): fix minor typo in comment 2013-02-25 23:54:44 -08:00
ngResource docs($resource): Added an installation section. 2013-03-08 11:04:32 -08:00
ngSanitize feat(linky): allow optional 'target' argument 2012-11-24 22:21:50 +01:00
ngScenario fix(scenario): include error messages in XML output 2013-02-07 04:09:52 -08:00
angular-bootstrap.js chore(debug): rewrite angular-bootstrap.js to use $script 2012-05-04 15:50:37 -07:00
Angular.js feat(angular.bootstrap): support deferred bootstrap 2013-03-06 16:19:35 -08:00
angular.prefix chore(license): update to google 2012-04-20 11:29:34 -07:00
angular.suffix fix(init): use jQuery#ready for init if available 2012-03-23 15:41:37 -07:00
AngularPublic.js chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
apis.js fix(ngRepeat): attempt to simplify and improve existing fix for #933 2012-11-26 20:31:54 +01:00
jqLite.js feat(JQLite): ready() now supports document.readyState=='complete' 2013-02-25 15:32:14 -08:00
loader.js docs(): Fix a couple of typos in the documentation 2012-11-21 23:06:59 +01:00
loader.prefix chore(license): update to google 2012-04-20 11:29:34 -07:00
loader.suffix feat(module): new module loader 2012-01-10 22:27:00 -08:00
module.prefix chore(module): improved module prefix/suffix code 2012-05-04 15:50:37 -07:00
module.suffix chore(module): improved module prefix/suffix code 2012-05-04 15:50:37 -07:00
publishExternalApis.js chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00