I had the same error, in my case the web server was written using node js, and the uri to get the views that were in the specified path with $ stateProvider was not created, because for each viewed / selected template to display HTTP request type Xhr GET.
Since uri did not exist, I got 404 code, and this caused the browser to enter the callback that killed it. Make sure your server returns the requested view. (Translation with google translation)
source share