Fix loading insecure content

Fix https://github.com/angular-ui/bootstrap/issues/2115