'use strict';

angular.module('wt.easy', [])
    .directive('wtEasyMask', wtEasyMask)
    .provider('easyMask', function () {
        var registry = Object.create(null);
        this.publishMask = function (publishedName, mask) {
            registry[publishedName.toLowerCase()] = mask;
        };
        this.$get = function () {
            easyMask.getMask = function (mask) {
                return registry[mask.toLowerCase()] || mask;
            };
            return easyMask;
        };
    })
    .filter('easyMask', easyMaskFilter);
@@ -66,16 +66,39 @@
 syMask',
+ %5B'$parse', 'easyMask',
  wtEasyM
@@ -100,16 +100,17 @@
 EasyMask
+%5D
 )%0A    .p
@@ -545,16 +545,29 @@
 syMask',
+ %5B'easyMask',
  easyMas
@@ -573,10 +573,11 @@
 skFilter
+%5D
 );

add service annotations