EDIT: This only happens with IE (tested on IE10)
I have a app that loads fine initially, however, when refreshed it gives this error:
SCRIPT50
I felt like and idiot when I found what I was doing wrong, but in case you're like me, then here are some other things to check first:
There was an error in the child function which actually caused this error to show twice in the console. This is because I use a syntax like this:
var mod = angular.module("blah", []);
mod.filter("filterName", function(){ ... });
At one point I forgot the empty brackets when starting the module, so the line looked like this and threw this error:
var mod = angular.module("blah"); // <-- wrong
To recap, make sure the child module executes first and has no errors.