I am trying to solve a problem happening when injecting an element to a customer website that uses Angular framework.
Edit: Sorry, the page uses Angular (also called Angular2) not just AngularJS. Sorry about the mistake.
The error message we`re seeing is this:
Error: [ng:areq] http://errors.angularjs.org/1.4.7/ng/areq?p0=SomoController&p1=not%20aNaNunction%2C%20got%20undefined
Does anyone know in which situations is this error message displayed?
Appreciate it,
Thanks
Edit: Adding some more information, the website, the Controller and the Angular part of the code are not mine. The application is added to the website by a script the website owner adds to their website.
This error only shows up when the application is on the page. When it is not, the page works as expected. One more thing is that this message pops up whenever a link on the website is clicked.
Edit: Other messages that only show up when the problem occurs are:
xdomain (http://someaddress.com) socket: [object Object]
xdomain (http://someaddress.com) socket: null
xdomain (http://currentwebpageaddress.something.something.net): failed to parse absolute url: app/modules/somecontrollerfunctionality/index.htm
There is also receive socket, send socket and close socket.
Do this messages have something to do with the problem?
Hope all that helps more. Much appreciated, everyone.
SomeController
is unknown, so either it's not included in the code you're trying to use or not properly imported etc. - Dave Newton