添加我的班级控制器
This commit is contained in:
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('/journal_for_message/:id', makeRoute('jour_message_detail.html', 'JournalsController'))
|
||||||
.when('/blog_comment/:id', makeRoute('blog_detail.html', 'BlogController'))
|
.when('/blog_comment/:id', makeRoute('blog_detail.html', 'BlogController'))
|
||||||
.when('/add_class', makeRoute('add_class.html', 'AddClassController'))
|
.when('/add_class', makeRoute('add_class.html', 'AddClassController'))
|
||||||
|
.when('/myclass', makeRoute('myclass.html', 'MyClassController'))
|
||||||
.otherwise({
|
.otherwise({
|
||||||
redirectTo: '/activites'
|
redirectTo: '/activites'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue