My main goal is to change the input type of a password to text by cliking a checkbox.
Understanding that DOM manipulations should be done in a directive and after reading AngularJS: can't change input type
I stared my directive as follows ( All code included in jsfiddle )
<div ng-app="SignComponents">
<bca-sign-up-password> </bca-Sign-Up-Password>
</div>
However I did not really make it work yet . . . any suggestions? I am working it out in the angular way?
Thanks!