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

16 lines
320 B
JavaScript

'use strict';
var StatusDisplayCtrl = function($scope) {
$scope.$on('status', function(e, text, time) {
$scope.text = text;
$scope.time = (time) ? time : '';
});
$scope.$on('searching', function(e, state) {
$scope.searching = state;
});
};
module.exports = StatusDisplayCtrl;