There are several questions like this in stackoverflow. I know. Tried all the answers, but still no luck. My html :
<div class="headline" id="headline-game">
{{gameContent.headline}}
</div>
jQuery:
var country = $("#headline-game").scope().headline;
alert(country);
But I got undefined, instead of my scope. Can anyone help me? I don't wanna change the scope, just accessing it.
scope()function.