angular-img-http-src

1.0.1 • Public • Published

angular-img-http-src

Status: Go horse.

Problem

You used token based auth and you need to serve images from secured routes.

Solution

Use http-src instead of ng-src and it will fetch images using the $http service - meaning Authorization headers added via interceptors will be present - then build a Blob and set the src to an objectURL.

Readme

Keywords

Package Sidebar

Install

npm i angular-img-http-src

Weekly Downloads

139

Version

1.0.1

License

MIT

Last publish

Collaborators

  • dougmoscrop