2 'app/gbp/epg/epg.service'
6 angular.module('app.gbp').controller('AddEpgController', AddEpgController);
8 AddEpgController.$inject = ['$mdDialog', '$scope', 'EpgService', 'epg'];
10 function AddEpgController($mdDialog, $scope, EpgService, epg) {
12 $scope.epg = epg ? epg : EpgService.createObject();
15 $scope.closeDialog = closeDialog;
20 function closeDialog(){
26 $scope.epg.put($scope.rootTenant, function(data) {