angular-switcher
angular-switcher copied to clipboard
Angular Switcher is an AngularJS directive that models toggle switches.
This fixes build errors in a webpack project which is using angular-switcher as a dependency.
Create a switcher with true-value, false-value, and ng-change e.g. ``` ``` Clicking on the toggle itself, sets the newValue and oldValue to "public" or "private", as expected. But clicking on...
Just wanted to point out that this directive is using ngModel somewhat incorrectly, This means that the $formatters / $parsers pipelines are broken with the directive (it is far from...