添加我的班级控制器

weixin_login
guange 9 years ago
parent 1d6d100983
commit 5a8de44c43

@ -0,0 +1,3 @@
app.controller('MyClassController', ['$scope', function($scope){
}]);

@ -31,6 +31,7 @@ app.config(['$routeProvider',"$httpProvider", "$locationProvider",'config', func
.when('/journal_for_message/:id', makeRoute('jour_message_detail.html', 'JournalsController'))
.when('/blog_comment/:id', makeRoute('blog_detail.html', 'BlogController'))
.when('/add_class', makeRoute('add_class.html', 'AddClassController'))
.when('/myclass', makeRoute('myclass.html', 'MyClassController'))
.otherwise({
redirectTo: '/activites'
});

Loading…
Cancel
Save