Disable range selection with toggle

Hello,

How I can disable range selection like screenshot below with toggle?
image

Thanks before

Pretty simple using ng class and ng disabled

Thanks how about add enable input label after toggle set to off?

Edited: Already figured with myself.