title: Allow special characters in ng-pattern
body: <p>I am trying to allow some special characters in a field, these characters are the accented vowels (áéíóúÁEÍÍÓÚ), ÑñÇç to allow french and spanish names (i.e Nuño, José, François). My code goes like this:</p>
  
  <pre><code>ng-pattern="/^[a-zA-Z\_\-\&amp;\`\#\. ]*$'áéíóúÁEÍÍÓÚÑñÇç"
  </code></pre>
  
  <p>And I have tried this too</p>
  
  <pre><code>ng-pattern="/^[a-zA-Z\_\-\&amp;\`\´\#\. ]*$'\á\é\í\ó\ú\Á\É\Í\Ó\Ú\Ñ\ñ\Ç\ç]/"
  </code></pre>
  
  <p>but when I deploy it in the server, and inspect the field, it changes those characters into unknown characters, like shown below:</p>
  
  <pre><code>&lt;input type="text" name="firstName" class="form-control ng-pristine ng-invalid ng-not-empty ng-valid-required ng-invalid-pattern ng-touched" ng-required="!userDetails.user.firstname" ng-pattern="/^[a-zA-Z\_\-\&amp;amp;\`\�'\#\. ]*$'\�\�\�\�\�\�\�\�\�\�\�\�\�\�/" ng-model="userDetails.user.firstname" aria-invalid="true"&gt;
  </code></pre>
  
  <p>How can I make the compiler to recognize the characters i need?</p>
  
  <p>Thanks</p>