I'm getting an error from angular when trying to run my site, its set up on an apache server running a reverse proxy so that I dont need
:3000
to run it.
However I'm getting Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. URL: home. Ive even tried adding
$sceDelegateProvider.resourceUrlWhitelist(['^(?:http(?:s)?:\/\/)?(?:[^\.]+\.)?\(http://domain)\.co.uk(/.*)?$', 'self']);
Its just weird because the template is from its own URL, ive checked and the template can be found just by typing it in the url bar. I'm hopelessly confused!! Please help..