mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
$route, $routeParams and ngView have been pulled from core angular.js
to angular-route.js/ngRoute module.
This is was done to in order keep the core focused on most commonly
used functionality and allow community routers to be freely used
instead of $route service.
There is no need to panic, angular-route will keep on being supported
by the angular team.
Note: I'm intentionally not fixing tutorial links. Tutorial will need
bigger changes and those should be done when we update tutorial to
1.2.
BREAKING CHANGE: applications that use $route will now need to load
angular-route.js file and define dependency on ngRoute module.
Before:
```
...
<script src="angular.js"></script>
...
var myApp = angular.module('myApp', ['someOtherModule']);
...
```
After:
```
...
<script src="angular.js"></script>
<script src="angular-route.js"></script>
...
var myApp = angular.module('myApp', ['ngRoute', 'someOtherModule']);
...
```
Closes #2804
|
||
|---|---|---|
| .. | ||
| directive | ||
| filter | ||
| anchorScrollSpec.js | ||
| animationSpec.js | ||
| animatorSpec.js | ||
| browserSpecs.js | ||
| cacheFactorySpec.js | ||
| compileSpec.js | ||
| controllerSpec.js | ||
| documentSpec.js | ||
| exceptionHandlerSpec.js | ||
| httpBackendSpec.js | ||
| httpSpec.js | ||
| interpolateSpec.js | ||
| localeSpec.js | ||
| locationSpec.js | ||
| logSpec.js | ||
| parseSpec.js | ||
| qSpec.js | ||
| rootElementSpec.js | ||
| rootScopeSpec.js | ||
| snifferSpec.js | ||
| timeoutSpec.js | ||
| windowSpec.js | ||