How to add text-box value to array on button click event in angularJS?

How to add text-box value to array on button click event in angularjs. And the value in the text-box should be emptied after adding. I tried with this code but ng-click itself is not working

  • Viesearch
    Moderated and indexed this listing ·
  • stoodq's profile picture
    @stoodqeditor
    Submitted this listing ·

Editorial Actions