xref: /openbmc/phosphor-webui/app/server-health/controllers/inventory-overview-controller.js (revision cd78950815d9b230f0eaa41a947fcae6d4cbbcb7)
1*cd789508SIftekharul Islam/**
2*cd789508SIftekharul Islam * Controller for server
3*cd789508SIftekharul Islam *
4*cd789508SIftekharul Islam * @module app/serverHealth
5*cd789508SIftekharul Islam * @exports inventoryOverviewController
6*cd789508SIftekharul Islam * @name inventoryOverviewController
7*cd789508SIftekharul Islam * @version 0.1.0
8*cd789508SIftekharul Islam */
9*cd789508SIftekharul Islam
10*cd789508SIftekharul Islamwindow.angular && (function (angular) {
11*cd789508SIftekharul Islam    'use strict';
12*cd789508SIftekharul Islam
13*cd789508SIftekharul Islam    angular
14*cd789508SIftekharul Islam        .module('app.serverHealth')
15*cd789508SIftekharul Islam        .controller('inventoryOverviewController', [
16*cd789508SIftekharul Islam            '$scope',
17*cd789508SIftekharul Islam            '$window',
18*cd789508SIftekharul Islam            'APIUtils',
19*cd789508SIftekharul Islam            'dataService',
20*cd789508SIftekharul Islam            function($scope, $window, APIUtils, dataService){
21*cd789508SIftekharul Islam                $scope.dataService = dataService;
22*cd789508SIftekharul Islam            }
23*cd789508SIftekharul Islam        ]
24*cd789508SIftekharul Islam    );
25*cd789508SIftekharul Islam
26*cd789508SIftekharul Islam})(angular);
27