{"action":"reopened","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/1272","repository_url":"https://api.github.com/repos/angular-ui/ui-select","labels_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1272/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1272/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1272/events","html_url":"https://github.com/angular-ui/ui-select/issues/1272","id":113209547,"number":1272,"title":"ui-select is not compatible with angular-loader.js","user":{"login":"eperret","id":5377458,"avatar_url":"https://avatars.githubusercontent.com/u/5377458?v=3","gravatar_id":"","url":"https://api.github.com/users/eperret","html_url":"https://github.com/eperret","followers_url":"https://api.github.com/users/eperret/followers","following_url":"https://api.github.com/users/eperret/following{/other_user}","gists_url":"https://api.github.com/users/eperret/gists{/gist_id}","starred_url":"https://api.github.com/users/eperret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eperret/subscriptions","organizations_url":"https://api.github.com/users/eperret/orgs","repos_url":"https://api.github.com/users/eperret/repos","events_url":"https://api.github.com/users/eperret/events{/privacy}","received_events_url":"https://api.github.com/users/eperret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-25T06:13:20Z","updated_at":"2016-03-28T03:37:46Z","closed_at":null,"body":"I use the [angular-seed](https://github.com/angular/angular-seed/blob/master/app/index-async.html) where I load some more dependencies with `$script` as follow:\r\n\r\n    $script([\r\n        'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js',\r\n        'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-route.min.js',\r\n        'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-resource.min.js',\r\n        'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-animate.min.js',\r\n        'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-sanitize.min.js',\r\n        'https://cdnjs.cloudflare.com/ajax/libs/angular-ui-select/0.13.2/select.js',\r\n        'js/app.js'\r\n    ], function() {\r\n    ...\r\n\r\nI think `ui-select` tries to call `angular.element.prototype.querySelectorAll` before angular has been loaded. Does it sounds right?\r\n\r\nHere is the console error from Chrome (46)\r\n\r\n    Uncaught TypeError: Cannot read property 'prototype' of undefined\r\n        (anonymous function) @ select.js:70\r\n        (anonymous function) @ select.js:1913"}}