mbenford / ngTagsInput

Tags input directive for AngularJS
http://mbenford.github.io/ngTagsInput
MIT License
1.64k stars 541 forks source link

Provide option to easly override the autocomplete template url #264

Closed amidudu closed 9 years ago

amidudu commented 10 years ago

This can be achieved nice by changing the directive code from:

templateUrl: 'ngTagsInput/auto-complete.html'

to:

templateUrl: function(tElem, tAttrs) { return tAttrs.templateUrl ? tAttrs.templateUrl : 'ngTagsInput/auto-complete.html'}

mbenford commented 9 years ago

Sorry for the late response.

This has been requested before and it's more complicated than it seems to be. Check out issue #132 so you can understand it better.

Anyway, support for custom templates is in the backlog and will be implemented eventually.

mbenford commented 9 years ago

Can this issue be closed?

amidudu commented 9 years ago

Yep, 10x ᐧ

On Wed, Dec 17, 2014 at 3:56 AM, Michael Benford notifications@github.com wrote:

Can this issue be closed?

— Reply to this email directly or view it on GitHub https://github.com/mbenford/ngTagsInput/issues/264#issuecomment-67266223 .