Refused to load the font when including $locationProvider

After including the following bit of code to remove the base of the url ‘#’ i get the following error. Any suggestions on how to fix this?

    $locationProvider
      .html5Mode({
        enabled: true,
        requireBase: false
      })
      .hashPrefix('!');

Refused to load the font ‘’ because it violates the following Content Security Policy directive: “default-src ‘self’”. Note that ‘font-src’ was not explicitly set, so ‘default-src’ is used as a fallback.