xpepermint / angular-ui-switch

On/off switch button for AngularJS. DEPRECATED!
278 stars 127 forks source link

Add missing ng-transclude #49

Open kuanyui opened 7 years ago

kuanyui commented 7 years ago

Add missing ng-transclude so that user can customize their on & off more flexibly. ex:

   switch(ng-model='autoRefresh')
       span.on
          i.fa.fa-refresh  Auto Refresh On
       span.off
          i.fa.fa-times  Auto Refresh Off