You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

course.controller.js 497B

1234567891011121314151617
  1. /**
  2. * Created by robin on 11/1/15.
  3. */
  4. angular.module('app')
  5. .controller('CourseController', ['$scope', '$mdDialog', 'course', 'DataShareBusiness',
  6. function($scope, $mdDialog, course, DataShareBusiness) {
  7. $scope.course = course;
  8. $scope.dateFormat = DataShareBusiness.dateFormat;
  9. $scope.timeFormat = DataShareBusiness.TimeFormat;
  10. $scope.close = function()
  11. {
  12. $mdDialog.cancel();
  13. };
  14. }]);