uib-typeahead not working for angularjs1.x
<p>i am creating uib-typeahead using reference from <a href="https://angular-ui.github.io/bootstrap/" rel="nofollow noreferrer">https://angular-ui.github.io/bootstrap/</a>. But dropdown is not coming. I searched everywhere and doing exactly what others say but dropdown is not coming.</p>
<p>HTML:</p>
<pre><code>&lt;div&gt;
   &lt;pre&gt;Model: {{tc.selected | json}}&lt;/pre&gt;
     &lt;input type=&quot;text&quot; ng-model=&quot;selected&quot; 
       uib-typeahead=&quot;state for state in states | filter:$viewValue | limitTo:8&quot; 
       class=&quot;form-control&quot;&gt;
 &lt;/div&gt;
</code></pre>
<p>js:</p>
<pre><code>var myApp = angular.module(&quot;angularTypeahead&quot;, [&quot;ui.bootstrap&quot;]);

myApp.controller(&quot;TypeaheadCtrl&quot;, function($scope, States) {
    $scope.states = [&quot;Alabama&quot;, &quot;Alaska&quot;, &quot;Arizona&quot;, &quot;Arkansas&quot;, &quot;California&quot;, 
                     &quot;Colorado&quot;, &quot;Connecticut&quot;, &quot;Delaware&quot;, &quot;Florida&quot;, &quot;Georgia&quot;, 
                     &quot;Hawaii&quot;, &quot;Idaho&quot;, &quot;Illinois&quot;];
});
</code></pre>
<p>Here is the plunker:
<a href="https://plnkr.co/edit/qQAGX7u6JJursmItfrf6?p=preview" rel="nofollow noreferrer">https://plnkr.co/edit/qQAGX7u6JJursmItfrf6?p=preview</a></p>
<p>Please tell me where i am going wrong</p>