wrap() function not working properly when jquery is added #7115
Description
I have created an angular directive which wraps my input textbox with a div tag. In this div tag, there is a model which shows the value as it's entered in the textbox.
I have used wrap() function on element to wrap the element (here input textbox) with the new div tag. Now the problem is, the input textbox is wrapped correctly but the value is not shown in div tag, instead it shows, {{ name }} only. But when I removed jquery from my project, the value of {{ name }} was shown in that div.
I confirmed this behavior by putting alerts in jquery's wrap() and angularjs' wrap() functions. When angularjs' wrap() function is called, it works fine and angular environment is provided but when jquery's wrap() function is called, wrapping is done but angular environment is not provided or can say the tag is not compiled properly. How to solve this issue?