2015-09-28 19:20:43 +00:00
|
|
|
angular.module('appControllers').controller('LogsCtrl', LogsCtrl); // get the main module contollers set
|
2016-02-17 20:32:23 +00:00
|
|
|
LogsCtrl.$inject = ['$scope', '$state', '$http']; // Inject my dependencies
|
2015-09-28 19:20:43 +00:00
|
|
|
|
|
|
|
// create our controller function with all necessary logic
|
2016-02-17 20:32:23 +00:00
|
|
|
function LogsCtrl($scope, $state, $http) {
|
|
|
|
$scope.$parent.helppage = 'plates/logs-help.html';
|
|
|
|
|
|
|
|
// just a couple environment variables that may bve useful for dev/debugging but otherwise not significant
|
|
|
|
$scope.userAgent = navigator.userAgent;
|
2015-09-28 19:20:43 +00:00
|
|
|
$scope.deviceViewport = 'screen = ' + window.screen.width + ' x ' + window.screen.height;
|
|
|
|
}
|