Switch button


Hi community,

Is there a better way to create switch button? http://codepen.io/anon/pen/zqIJi

Thanks for your feedback,



this would be my first idea:


but best solution would be creating a directive for this.


Thanks your solution sounds better :slight_smile:

I am not familiar with directive creation at the moment :confused: