title: ngPattern is not working after upgrading Angular JS 1.2.x to 1.4.x
body: <p>The pattern validation using angular ngPattern is not working after upgrading the Angular JS library to 1.4.1. See the code below.</p>
  
  <pre><code>    &lt;form class="form-horizontal" name="someForm" role="form" novalidate&gt;
          &lt;div&gt;field1Value = '{{field1Value}}'&lt;/div&gt;
          &lt;p class="input-group" ng-class="{ 'has-error': someForm.field1.$invalid }"&gt;
            &lt;input id="date" name="field1" type="text" 
              ng-model="field1Value" class="form-control" ng-pattern="{{expr1}}" ng-trim="false"  ng-maxlength="10" ng-required="false" ng-disabled="false" /&gt;
          &lt;/p&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>See the <a href="http://plnkr.co/edit/TfUgC6monFX3j9Luxwrx?p=preview" rel="nofollow">Plunker</a></p>
  
  <p>Thanks in advance..</p>