| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1× 1× | /**
* Created by cklimkowsky on 3/1/15.
*/
angular
.module('coopEval')
.controller('AddDepartmentModalController', AddDepartmentModalController);
function AddDepartmentModalController($scope, $modalInstance, college) {
$scope.department = {
departmentCode: null,
departmentName: null,
collegeByCollegeId: college
};
$scope.save = function () {
$modalInstance.close($scope.department);
};
$scope.cancel = function () {
$modalInstance.dismiss();
};
} |