Hi Guys, I need to call a JavaScript (external domain) from partial view that returns a JS function
like DoSomething(JSON)
I’ve used “text/javascript-lazy” directive to load the following Javascript file and callback function
Now, I’ve two option,
- I can use onCallBackFunc to generate my data directly like JQuery
- looking for some option to set data available from onCallBackFunc into $Scope variable. is there any way to store data into Scope and use it in my view (which is in the same file).
Thanks in advance.