Various fixes
This commit is contained in:
@@ -6,10 +6,11 @@
|
||||
.controller('StudentReportCtrl', StudentReportCtrl)
|
||||
|
||||
StudentReportCtrl.$inject =
|
||||
['$scope', '$rootScope', '$state', 'professors', '$modal', 'selectedCourse', 'selectedSection', 'selectedStudent'];
|
||||
function StudentReportCtrl($scope, $rootScope, $state, professors, $modal, selectedCourse, selectedSection, selectedStudent) {
|
||||
['$scope', '$state', 'professors', '$modal', 'selectedCourse', 'selectedSection', 'selectedStudent', 'authentication'];
|
||||
function StudentReportCtrl($scope, $state, professors, $modal, selectedCourse, selectedSection, selectedStudent, authentication) {
|
||||
var vm = this;
|
||||
var professorid = $rootScope.professorId;
|
||||
var user = authentication.currentUser();
|
||||
var professorid = user._id;
|
||||
vm.section = [];
|
||||
vm.professor = null;
|
||||
|
||||
|
Reference in New Issue
Block a user