Please review this link: http://plnkr.co/edit/sgVUGIl9eOoXik9gBIHD and help me.
I'm passing 'Bond' a name variable to the modal for the text field and changing that to 'James' (or something else) It does change the value in the text box, but in the alert (in $scope.ok of Modal Controller) it is returning the old value 'Bond'
Thanks for your help and time.