Skip to content

Instantly share code, notes, and snippets.

@MasoodGit
Created January 6, 2016 05:59
Show Gist options
  • Save MasoodGit/7bf335a87601d8638af1 to your computer and use it in GitHub Desktop.
Save MasoodGit/7bf335a87601d8638af1 to your computer and use it in GitHub Desktop.
(function () {
'use strict';
angular.module('remoteMonitorApp').controller('dashboardController', dashboardController);
dashboardController.$inject = ['$rootScope','$http','$state','$scope','$stateParams','deviceListService'];
function dashboardController($rootScope,$http,$state,$scope,$stateParams,deviceListService) {
deviceListService.getDeviceList().then( function(res) {
console.log(res);
});
}//end of dashboardController
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment