title: Error: [$compile:multidir] Multiple directives
body: <p>I have a custom directive like this :</p>
  <pre><code>myApp.directive('input', function () {
      return {
          restrict: 'E',
          scope: true,
          link: function (scope, elem) {
              if (scope.lang &amp;&amp; elem.attr('type') === 'text') {
                  elem.attr('lang', 'fa');
                  console.log(scope.lang);
              }
          }
      };
  });  
  </code></pre>
  <p>that add <code>lang='fa'</code> attribute to all input:text and also i'm using <a href="http://angular-ui.github.io/bootstrap/#/datepicker" rel="noreferrer">DatePicker angular Ui</a> but i get an error :</p>
  <pre><code>    Error:   
      [$compile:multidir] Multiple directives [datepickerPopupPersian, input] asking for  
        
       new/isolated scope on:  
       &lt;input type=&quot;date&quot; name=&quot;birth&quot; class=&quot;form-control ng-pristine   
      ng-untouched ng-valid&quot;  
       datepicker-popup-persian=&quot;{{formats.ShowDate}}&quot; tabindex=&quot;7&quot;   
      ng-model=&quot;requesterViewModel.BirthDate&quot;   
      is-open=&quot;datePicker.opened&quot; datepicker-options=&quot;dateOptions&quot; date-disabled=&quot;disabled(date, mode)&quot;  
   close-text=&quot;بسته&quot;  
       max-date=&quot;dt&quot;&gt;
  </code></pre>
  <p>when i comment datePicker in my form everything work well .<br />
  Any idea? Thanks</p>