Switch button

Hi community,

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

Thanks for your feedback,

DFull

this would be my first idea:

http://codepen.io/Auro/pen/veKdC

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: