Angularjs call other domain name or HTTPS report error problem solving

Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy.

yunApp.config(
    [
        '$sceProvider',
        function ($sceProvider) {
            $sceProvider.enabled(false);
        }
    ]
);

Add the above code to disable angularjs and cross domain

Similar Posts: