title: Change input type using directives by checkbox click
body: <p>My main goal is to change the input type of a password to text by cliking a checkbox.</p>
  
  <p>Understanding that DOM manipulations should be done in a directive and after reading <a href="https://stackoverflow.com/questions/15148456/angularjs-cant-change-input-type">AngularJS: can&#39;t change input type</a></p>
  
  <p>I stared my directive as follows ( All code included in  <a href="http://jsfiddle.net/arcayne/K6Qgm/5/" rel="nofollow noreferrer">jsfiddle</a> )</p>
  
  <pre><code> &lt;div ng-app="SignComponents"&gt;
       &lt;bca-sign-up-password&gt; &lt;/bca-Sign-Up-Password&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>However I did not really make it work yet  . . . any suggestions? I am working it out in the angular way?</p>
  
  <p>Thanks!</p>