Skip to content

Commit

Permalink
migrate code to 1.0.0rc11
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Jun 11, 2012
1 parent 830516a commit 65cb691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Declare app level module which depends on filters, and services
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).
config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/view1', {template: 'partials/partial1.html', controller: MyCtrl1});
$routeProvider.when('/view2', {template: 'partials/partial2.html', controller: MyCtrl2});
$routeProvider.when('/view1', {templateUrl: 'partials/partial1.html', controller: MyCtrl1});
$routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: MyCtrl2});
$routeProvider.otherwise({redirectTo: '/view1'});
}]);

0 comments on commit 65cb691

Please sign in to comment.