diff options
author | Iftekharul Islam <iislam@us.ibm.com> | 2017-03-24 15:28:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-09-20 12:41:33 -0500 |
commit | 99d199f300405c3700837a21ae97f6742c16b513 (patch) | |
tree | 4208e0d0697a889d29c6262353404a135cef011d /app/overview/controllers/system-overview-controller.js | |
parent | 38f681feee9d576ad962aae5fa46ad24ccc02d29 (diff) | |
download | phosphor-webui-99d199f300405c3700837a21ae97f6742c16b513.tar.gz phosphor-webui-99d199f300405c3700837a21ae97f6742c16b513.zip |
Major update to code structure
* Split files into independent files based on functionality.
* Switch to bower/gulp for build.
Change-Id: Ibc775dd9b7f6a0a49f63c22162b7582e781e2d9c
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
Diffstat (limited to 'app/overview/controllers/system-overview-controller.js')
-rw-r--r-- | app/overview/controllers/system-overview-controller.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/overview/controllers/system-overview-controller.js b/app/overview/controllers/system-overview-controller.js new file mode 100644 index 0000000..e3841cb --- /dev/null +++ b/app/overview/controllers/system-overview-controller.js @@ -0,0 +1,26 @@ +/** + * Controller for system overview + * + * @module app/overview + * @exports systemOverviewController + * @name systemOverviewController + * @version 0.1.0 + */ + +window.angular && (function (angular) { + 'use strict'; + + angular + .module('app.overview') + .controller('systemOverviewController', [ + '$scope', + '$window', + 'APIUtils', + 'dataService', + function($scope, $window, APIUtils, dataService, userModel){ + $scope.dataService = dataService; + } + ] + ); + +})(angular); |