Sha256: bd40c021d7665aafe4c0acde22fa5e450a2c7c463ab6c680fb49300be2178201
Contents?: true
Size: 386 Bytes
Versions: 10
Compression:
Stored size: 386 Bytes
Contents
module = angular.module('maestrano.components.mno-match',[]) module.directive("mnoMatch", ['$parse', ($parse) -> return { require: "ngModel", link: (scope, elem, attrs, ctrl) -> scope.$watch( () -> return $parse(attrs.mnoMatch)(scope) == ctrl.$modelValue , (currentValue) -> ctrl.$setValidity('mismatch', currentValue) ) } ])
Version data entries
10 entries across 10 versions & 1 rubygems