aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngRoute/route.js')
-rw-r--r--src/ngRoute/route.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index 14f53d1d..db157a43 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -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,