mirror of https://github.com/moparisthebest/mail
16 lines
320 B
JavaScript
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; |