Post HTML Issue Description with JIRA REST API v3

I think this exmple is in react and I am working on angular.
How can I use it in angular?

Thank You!