Skip to content

Instantly share code, notes, and snippets.

import LogmaticJs from 'logmatic-js';
const track = function (verb) {
// Event fields
const _verb = verb;
let _object = null;
let _target = null;
let _start = null;
ngModelCtrl.$validators = {
regex : (modelValue, viewValue) => {
if(valid) return true;
return false;
},
anyOtherValidation : ...
}
ngModelCtrl.$validators.yetAnotehrValidation = ...