ui-select angularjs bootstrap undefined is not a function error <p>I'm having some issues trying to work with the ui-select library. I'm trying to use the select dropdown features but it doesn't work properly.</p> <p>This is the library used: <a href="https://github.com/angular-ui/ui-select" rel="nofollow">https://github.com/angular-ui/ui-select</a></p> <p>Here's my html code:</p> <pre><code>&lt;h3&gt;Array of strings&lt;/h3&gt; &lt;ui-select multiple ng-model="selCountry.selLoc" theme="/resources/ui-select/bootstrap" ng-disabled="disabled" style="width: 300px;"&gt; &lt;ui-select-match placeholder="Select locations..."&gt;{{$selCountry.selLoc}}&lt;/ui-select-match&gt; &lt;ui-select-choices repeat="loc in selCountry.locations| filter:$select.search"&gt; {{loc}} &lt;/ui-select-choices&gt; &lt;/ui-select&gt; </code></pre> <p>The error it troughs is : undefined is not a function and it troughs this erro when I click on the ui-selext box.</p> <pre><code>TypeError: undefined is not a function at link (http://localhost:8090/resources/ui-select/select.js:1202:11) at H (http://localhost:8090/resources/js/angular-1.2.12.min.js:49:375) at f (http://localhost:8090/resources/js/angular-1.2.12.min.js:42:399) at H (http://localhost:8090/resources/js/angular-1.2.12.min.js:49:316) at f (http://localhost:8090/resources/js/angular-1.2.12.min.js:42:399) at http://localhost:8090/resources/js/angular-1.2.12.min.js:42:67 at http://localhost:8090/resources/js/angular-1.2.12.min.js:43:303 at A (http://localhost:8090/resources/js/angular-1.2.12.min.js:47:46) </code></pre> <p>Any advice on what could be the problem? </p> <p>Thank you</p> <p>PS</p> <p>When I click on the select.js error link it takes me to the following piece of code.</p> <pre><code> // Recreates old behavior of ng-transclude. Used internally. .directive('uisTranscludeAppend', function () { return { link: function (scope, element, attrs, ctrl, transclude) { transclude(scope, function (clone) { element.append(clone); }); } }; }) </code></pre> <p>Not sure what is causing that problem as the code is very similar to what the example code is.</p>