Hi Guys,
I am stuck with a serious problem in my Angular JS application. I have a
main JSP page along with another HTML page.
For example
HTML --> test.htm and JSP --> index.jsp
My data is forwarded (some text fields) from the test page to the jsp page
through the ActiveX Object. In my JSP page I have an inline script tag at
the start where I capture the data coming in from the test.htm page.
Followed by this are the Angular library and other application related
files(app.js, services.js, controllers.js etc)
My Jsp looks like this -
<script>
function abc(dataRecievedThroughActiveXObject) {
// some processing on the data and then forward it to the app.js which
is loaded below
}
</script>
</script src="all other angular files + library loaded">
Now when my JSP page launches the "abc" function is supposed to run First
(called by the test page and also considering order of loading the
JavaScript). However my app.js runs before my abc function. This has been
the issue from the past few weeks. I have tried a lot of things
(dynamically loading the Javascript within abc, changing the order of
loading the JS files and many more things), however this has always been
the issue. At one point I started thinking that may be Angular JS takes
precedence over native/normal JS. I am very new to this. I am sorry if I am
wrong. But I need some help.
Highly Appreciated.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.