}
return service;
-}]);
+}])
-
-function PatronRegCtrl($scope, $routeParams, $q, $uibModal, $window,
- egCore, patronSvc, patronRegSvc, egUnloadPrompt, egAlertDialog) {
+.controller('PatronRegCtrl',
+ ['$scope','$routeParams','$q','$uibModal','$window','egCore',
+ 'patronSvc','patronRegSvc','egUnloadPrompt','egAlertDialog',
+function($scope , $routeParams , $q , $uibModal , $window , egCore ,
+ patronSvc , patronRegSvc , egUnloadPrompt, egAlertDialog) {
$scope.page_data_loaded = false;
$scope.clone_id = patronRegSvc.clone_id = $routeParams.clone_id;
}
});
}
-}
-
-PatronRegCtrl.$inject = ['$scope', '$routeParams', '$q', '$uibModal',
- '$window', 'egCore', 'patronSvc', 'patronRegSvc', 'egUnloadPrompt', 'egAlertDialog'];
+}])