A little AngularJS directive for setting focus on model change.

I created a simple plunker based on http://www.emberex.com/programmatically-setting-focus-angularjs-way/

 

When the user clicks on the button the textarea gets focused.

 

image

 

Here is the code:

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

Leave a Reply

Your email address will not be published. Required fields are marked *