Cordova version 4.0 deploying to Windows 8.1 prevents external templates
.when('/', {
controller: 'login',
templateUrl: 'http://ip-address/templates/login.html',
resolve: resolver('login')
})
Notes: This is not a InAppBrowser application. index.html is local and so is the router.js config.xml has
<access origin="*" />
So any Cross Domain issue should not arise.
Underlying problem seems Cross Origin Issue but solved this with following workaround. The basic theory is that $http.get is able to resolve text/html or application/json.
In
app.run(....)