title: tagging directive issue how to bind the tags as array of json objects and the tagging shoud work with ng-keypress event
body: <p><a href="https://plnkr.co/edit/KF9FFdx0sWJkpQ7VKrl2?p=preview" rel="nofollow">https://plnkr.co/edit/KF9FFdx0sWJkpQ7VKrl2?p=preview</a>
  Here is the plnkr. Can anyone help me?
  I have my tags list i am not able to bind it with ng-model and want to bind the tags as array of objects on a function call using ng-keypress. and it should post to a json file in this format.
  I want something like this:
  Eg. </p>
  
  <pre><code> $scope.tags={tag:[
      {name:"angular"},
      {name:"ruby"},
      {name:"pearl"}
      ]}
  </code></pre>