Closed hm6293 closed 7 years ago
I am using this piece of code to open a modal, but on uglification of this code it gives me provider error because the annotation doesn't occur for the controller and resolve.
ngDialog.open({ template: 'scripts/user-portal/directive/interview/calendar-and-interview-detail.html', plain: true, data: { operation: operation, event: event, isCalendarConnected : isCalendarConnected, isSettings : isSettings }, resolve: { candidate: function(candidateForWardedProfileDetailService) { if(candidateId) return candidateForWardedProfileDetailService.getDetail(candidateId); }, calendarSettings : function(){ if(isSettings && isCalendarConnected) return self.getIntegratedCalendarDetails(); } }, controller: 'CalenderPopupCtrl', showClose: true, className: 'ngdialog-theme-default', preCloseCallback: function() { return ConfirmOnExitService.preCloseCallbackFunction('scheduleInterviewForm', dialog); } });
I am using this piece of code to open a modal, but on uglification of this code it gives me provider error because the annotation doesn't occur for the controller and resolve.