添加我的班级控制器

This commit is contained in:
guange 2016-06-20 19:42:51 +08:00
parent 1d6d100983
commit 5a8de44c43
3 changed files with 4 additions and 0 deletions

View File

View File

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

View File

@ -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'
});