Open ravinggenius opened 11 years ago
Will check this out. @ravinggenius Can you assert that the typeahead directive itself works with your templateURL?
I tried using Bootstrap's typeahead directive directly, and the [typeahead-template-url]
attribute seems to be ignored. I had to copy the template files from app/bower_components/bootstrap/template
to app/template
to get it to work.
In my view:
<input type="text" ng-model="state" typeahead="state for state in states" typeahead-template-url="bower_components/bootstrap/template/typeahead/typeahead-popup.html" />
same here
I verified the
templateUrl
option by manually visiting http://localhost:9000/bower_components/bootstrap/template/typeahead/typeahead-popup.html. I also verifiedscope.typeaheadOptions
in https://github.com/decipherinc/angular-tags/blob/0.2.10/dist/angular-tags-0.2.10.js#L585 is being set correctly. Why isn't angular-tags requesting the right template? Did I configure it wrong?In my controller:
In my view:
In my browser's console (when visiting http://localhost:9000/#/library):