Blame view

app/js/helpers.js 405 Bytes
4bb02bb84   Rishav   new integration w...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  angular
    .module('mwl.calendar.docs')
    .factory('alert', function($uibModal) {
  
      function show(action, event) {
        return $uibModal.open({
          templateUrl: 'modalContent.html',
          controller: function() {
            var vm = this;
            vm.action = action;
            vm.event = event;
          },
          controllerAs: 'vm'
        });
      }
  
      return {
        show: show
      };
  
    });