title: Angular and ngTagsInput - Cannot read property 'data' of undefined
body: <p>I'm not able to make this work, every time I type 3 chars I get:</p>
  
  <pre><code>TypeError: Cannot read property 'data' of undefined
      at core.min.js?v=1494950519:37874
      at processQueue (core.min.js?v=1494950519:14634)
      at core.min.js?v=1494950519:14650
      at Scope.$eval (core.min.js?v=1494950519:15916)
      at Scope.$digest (core.min.js?v=1494950519:15727)
      at Scope.$apply (core.min.js?v=1494950519:16024)
      at core.min.js?v=1494950519:17791
      at completeOutstandingRequest (core.min.js?v=1494950519:5490)
      at core.min.js?v=1494950519:5762
  </code></pre>
  
  <p>This is in my controller:</p>
  
  <pre><code> $scope.loadItems = function (query) {
          var defer = $q.defer();
          defer.resolve([
              { text: 'just' },
              { text: 'some' },
              { text: 'cool' },
              { text: 'tags' }
          ]);
          return defer.promise;
      };
  </code></pre>
  
  <p>and this is in my html:</p>
  
  <pre><code>&lt;tags-input ng-model="tags"&gt;
       &lt;auto-complete source="loadItems($query)"&gt;&lt;/auto-complete&gt;
  &lt;/tags-input&gt;
  </code></pre>
  
  <p>Can't figured put what's wrong, any idea?<br>
  If I remove the <code>auto-complete</code> it works.</p>