mail/src/js/controller/app/status-display.js

17 lines
382 B
JavaScript

'use strict';
var StatusDisplayCtrl = function($scope, statusDisplay) {
// set the show functions
statusDisplay.showStatus = function(lbl, time) {
$scope.lastUpdateLbl = lbl;
$scope.lastUpdate = (time) ? time : '';
};
statusDisplay.showSearching = function(state) {
$scope.searching = state;
};
};
module.exports = StatusDisplayCtrl;