Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular ui-select error: 404 (Failed to load template)

Anyone having issue using angular-ui-select?

Getting this error

GET http://localhost/select2/select.tpl.html 404 (Not Found) angular.js:8539
Error: [$compile:tpload] Failed to load template: select2/select.tpl.html

From the documentation - i just needed to reference select.js and select.css

like image 777
Linc Abela Avatar asked Oct 31 '22 16:10

Linc Abela


1 Answers

Try using the select.css and select.js files from the /dist directory instead of the files from the /src directory.

like image 118
Bailey Smith Avatar answered Nov 11 '22 03:11

Bailey Smith