client-ui
Version:
Testing implementation of nodeJs Backend, angular frontend, and hopefully in a way that this can be deployed to s3/cloudfront
18 lines (13 loc) • 372 B
JavaScript
(function () {
'use strict';
angular.module(moduleName).controller('docPendingController', docPendingController);
docPendingController.$inject = ['$scope'];
function docPendingController($scope){
function init(){
self.isBusinessHour = function() {
var theirTime = new Date().getUTCHours();
return 14 <= theirTime && theirTime < 23;
}
}
}
})();