Pure AngularJS adaptation of the Bootstrap Switch plugin.