diff --git a/angular-ui-switch.js b/angular-ui-switch.js index 9a6b591..0457f3c 100644 --- a/angular-ui-switch.js +++ b/angular-ui-switch.js @@ -10,7 +10,7 @@ angular.module('uiSwitch', []) html += ''+e.on+"":"",s+=e.off?''+e.off+"":" ",s+=""}}}); \ No newline at end of file +angular.module("uiSwitch",[]).directive("switch",function(){return{restrict:"AE",replace:!0,transclude:!0,template:function(n,e){var s="";return s+="'+e.on+"":"",s+=e.off?''+e.off+"":" ",s+=""}}});