An AngularJS directive implementing a switch button with Boostrap styles