I am getting a JSON Reponse from an api in AngularJS. I have description in it .Description contains HTML Tags in string. I want to share Response item here.
{
name:'Name of Item',
Description:'<div>Details: Here is Details</div><div>Type: Here is Type</div>'
}
I just want to separate details and Type from description into two different strings. any body can help. I tried to search some help, but did not get any +ive or match result for this.
Thanks