I'm currently updating parts of my asp.net mvc 5 webapp to angularjs 1.5.
As not everything is angular js, some parts are done with jQuery.
Before angularjs I had
<h2>@Model.title</h2>
which become <h2>Document XYZ</h2>
After moving to angular I'm having a
<h2>{{ document.title }}</h2>
I'm trying to get the Document Title out of it and use it somewhere else with jQuery selector
$('#documentId').find("h2").text()
Unfortunately, since changing to angular all I get is the expression {{ document.title }}
, but not the content which is rendered sucessfully.
Any ideas?