In ASPX page we can write like this
<script id="my_plugin" type="text/javascript" data-encoding="jsonb" data-model="<%= myobj.ModelCode %>" data-object="<%= myobj.GetObject() %>" src="//my.my.com/js/my.js"></script>
And on c# side
protected void Page_Init(object sender, EventArgs e) {// code which return myobj }
How to do this in AngularJS? Means how to bind values to attribute of script tag dyanamically?