mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
docs($route): split over-length line
This commit is contained in:
parent
e53e2c2d58
commit
627f9ba091
1 changed files with 3 additions and 1 deletions
|
|
@ -297,7 +297,9 @@ function $RouteProvider(){
|
|||
</file>
|
||||
|
||||
<file name="script.js">
|
||||
angular.module('ngViewExample', ['ngRoute']).config(function($routeProvider, $locationProvider) {
|
||||
angular.module('ngViewExample', ['ngRoute'])
|
||||
|
||||
.config(function($routeProvider, $locationProvider) {
|
||||
$routeProvider.when('/Book/:bookId', {
|
||||
templateUrl: 'book.html',
|
||||
controller: BookCntl,
|
||||
|
|
|
|||
Loading…
Reference in a new issue