title: Multiple-tags input field
body: <p>I recently started with AngularJS, and am currently working on a simple form with a tags input field and a submit button. The input field is supposed to accept multiple tags so that on clicking submit all the tags get saved as an array. </p>
  
  <p>Now I am currently using ngTagsInput directive which I found on github(<a href="http://mbenford.github.io/ngTagsInput/" rel="nofollow noreferrer">http://mbenford.github.io/ngTagsInput/</a>). This directive gives me <code>&lt;tags-input&gt;&lt;/tags-input&gt;</code> HTML element which creates an input field that accepts multiple tags before submission. Here is what it look like(look at the <strong>Tags</strong> field):</p>
  
  <p><a href="https://i.stack.imgur.com/G1nYd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G1nYd.png" alt="enter image description here"></a></p>
  
  <p>This works fine, what I need now is a directive which gives me similar functionality but instead of an element ie. <code>&lt;tags-input&gt;</code>, I want an attribute which I can include inside the conventional <code>&lt;input&gt;</code> element like  <code>&lt;input attribute='tags-input'&gt;</code> .</p>
  
  <p><strong>Question:</strong> </p>
  
  <ol>
  <li>Is there a way I can use ngTagsInput as an attribute?</li>
  <li>Are there any other directives out there which may suit my need? If yes then please post the link in the answer.</li>
  </ol>
  
  <p>Thanks in advance.</p>