function isExpired() {
        if ($scope.message) {
            return $scope.message.ExpirationTime < moment().unix();
        }
        return false;
    }
/**
     * Determine if the message is expire
     */
Determine if the message is expire
Determine if the message is expire
function isExpired() {
        if ($scope.message) {
            return $scope.message.ExpirationTime < moment().unix();
        }
        return false;
    }
function isExpired ( ) { if ( $scope . message ) { return $scope . message . ExpirationTime < moment ( ) . unix ( ) ; } return false ; }
Determine if the message is expire
Determine if the message is expire