Switch button


#1

Hi community,

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

Thanks for your feedback,

DFull


#2

this would be my first idea:

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

but best solution would be creating a directive for this.


#3

Thanks your solution sounds better :slight_smile:

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