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
|
||
|---|---|---|
| .. | ||
| bootstrap.ngdoc | ||
| compiler.ngdoc | ||
| concepts.ngdoc | ||
| dev_guide.e2e-testing.ngdoc | ||
| dev_guide.mvc.ngdoc | ||
| dev_guide.mvc.understanding_controller.ngdoc | ||
| dev_guide.mvc.understanding_model.ngdoc | ||
| dev_guide.mvc.understanding_view.ngdoc | ||
| dev_guide.services.$location.ngdoc | ||
| dev_guide.services.creating_services.ngdoc | ||
| dev_guide.services.injecting_controllers.ngdoc | ||
| dev_guide.services.managing_dependencies.ngdoc | ||
| dev_guide.services.ngdoc | ||
| dev_guide.services.testing_services.ngdoc | ||
| dev_guide.services.understanding_services.ngdoc | ||
| dev_guide.templates.css-styling.ngdoc | ||
| dev_guide.templates.databinding.ngdoc | ||
| dev_guide.templates.filters.creating_filters.ngdoc | ||
| dev_guide.templates.filters.ngdoc | ||
| dev_guide.templates.filters.using_filters.ngdoc | ||
| dev_guide.templates.ngdoc | ||
| dev_guide.unit-testing.ngdoc | ||
| di.ngdoc | ||
| directive.ngdoc | ||
| expression.ngdoc | ||
| forms.ngdoc | ||
| i18n.ngdoc | ||
| ie.ngdoc | ||
| index.ngdoc | ||
| introduction.ngdoc | ||
| module.ngdoc | ||
| overview.ngdoc | ||
| scope.ngdoc | ||