awx/awx/ui/static/js/setup-menu/setup.controller.js
2015-05-28 09:08:20 -04:00

28 lines
904 B
JavaScript

export default
[ '$scope',
'$rootScope',
'AboutAnsibleHelp',
'ConfigureTower',
'CreateCustomInventory',
function(
$scope,
$rootScope,
showAboutModal,
configureTower,
showInventoryScriptsModal
) {
$scope.showAboutModal = showAboutModal;
$scope.showManagementJobsModal =
configureTower.bind(null,
{ scope: $rootScope,
parent_scope: $rootScope
});
$scope.showInventoryScriptsModal = showInventoryScriptsModal.bind(null,
{ parent_scope: $rootScope
});
}
];