diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 571741ee9c..eaa5c10bdd 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -400,12 +400,12 @@ angular.module('Tower', [ templateUrl: urlPrefix + 'partials/home.html', controller: 'Home', resolve: { - graphData: function($q, jobStatusGraphData, hostCountGraphData) { + graphData: ['$q', 'jobStatusGraphData', 'hostCountGraphData', function($q, jobStatusGraphData, hostCountGraphData) { return $q.all({ jobStatus: jobStatusGraphData.get("month", "all"), hostCounts: hostCountGraphData.get() }); - } + }] } }). diff --git a/awx/ui/static/js/directives/dashboard-graphs.js b/awx/ui/static/js/directives/_dashboard-graphs.js similarity index 100% rename from awx/ui/static/js/directives/dashboard-graphs.js rename to awx/ui/static/js/directives/_dashboard-graphs.js diff --git a/awx/ui/static/js/services/data-services.js b/awx/ui/static/js/services/_data-services.js similarity index 100% rename from awx/ui/static/js/services/data-services.js rename to awx/ui/static/js/services/_data-services.js