You can do :
<input type ={{isToggled?'password':'text'}}></input>
<ion-toggle ng-model="isToggled" >toggle</ion-toggle>
I'd say i'ts the fastest way to do so
You can do :
<input type ={{isToggled?'password':'text'}}></input>
<ion-toggle ng-model="isToggled" >toggle</ion-toggle>
I'd say i'ts the fastest way to do so