the directive does not allow to update the clndr events array when passing an empty one because of this condition: `if (val != null ? val.length : void 0)`