appDS2.config(function ($sceDelegateProvider) { $sceDelegateProvider.resourceUrlWhitelist(['self','**']); });