sebastiengiroux sebastiengiroux - 1 month ago 18
AngularJS Question

How to implement a token field in Angular.js

I need to implement a token field in Angular.js.

I have found this token field that uses Bootstrap: http://sliptree.github.io/bootstrap-tokenfield/#usage.

Before writing a directive for it, I was wondering if such a directive already existed, or if there was better/easier options for Angular.js.

Thanks!

Answer

Yes, it calls ngTagsInput.

Find more here:

http://ngmodules.org/modules/ngTagsInput

Demo link:

http://mbenford.github.io/ngTagsInput/