Warning: Undefined variable $button in H:\root\home\stelco-001\www\collinscreative\wordpress\wp-content\plugins\facebook-share-new\facebookshare.php on line 631
Warning: Undefined variable $content in H:\root\home\stelco-001\www\collinscreative\wordpress\wp-content\plugins\facebook-share-new\facebookshare.php on line 636
I have 3 directives that have slightly different algorithms to parse an input value. angular.module(‘numeric’, []).directive(‘doublesrange’, function() {…} ); angular.module(‘numeric’,
answer:
angular.module('numeric', [])
.directive('doublesrange', function() {...} )
.directive('integersrange', function() {...} )
.directive('doublesnorange', function() {...} );
Source: javascript – AngularJS module.directive not responding consistently – Stack Overflow