It will allow you to apply image optimizations on-the-fly:
Download Uploadcare's Angular 2 library ).