mirror of
https://github.com/moparisthebest/mail
synced 2024-08-13 16:43:47 -04:00
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; |