Skip to content

Commit 65cb691

Browse files
committed
migrate code to 1.0.0rc11
1 parent 830516a commit 65cb691

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Declare app level module which depends on filters, and services
55
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).
66
config(['$routeProvider', function($routeProvider) {
7-
$routeProvider.when('/view1', {template: 'partials/partial1.html', controller: MyCtrl1});
8-
$routeProvider.when('/view2', {template: 'partials/partial2.html', controller: MyCtrl2});
7+
$routeProvider.when('/view1', {templateUrl: 'partials/partial1.html', controller: MyCtrl1});
8+
$routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: MyCtrl2});
99
$routeProvider.otherwise({redirectTo: '/view1'});
1010
}]);

0 commit comments

Comments
 (0)