Add ng-click in Modal Edit

If find this plnkr for my requirement
in the Same I need Some Function to add called
add ng-click in boostrap modal too

<div ng-controller="MyCtrl">
  <input ng-model="someInput">
  <button ng-click="add()">Add</button>
  <p ng-repeat="item in items">Created {{ item }}</p>  
</div>

<textarea my-text="">

</textarea>

http://plnkr.co/edit/Xx1SHwQI2t6ji31COneO?p=preview

Anyhelp !

Source: AngularJS