Change ion-toggle programmatically

It’s not particularly pretty, and things may have changed since I had to deal with this, but you may be interested in this thread.