I want sample code to add a text to textarea angularjs code, can any one help.
Writing an SMS with some custom name field like {userName} #userName# etc. These are onclick events, when user clicks, respected text should be added in cursor position in textarea box.
Check this link and use the directive in your app http://plnkr.co/edit/Xx1SHwQI2t6ji31COneO?p=preview