Angular does not have compression utilities.
If you really need to compress, you'll have to find a JavaScript library for this, which I don't know anything about, but this question and this question are good places to start.
Considering that compression can take some time (and does not always give big results), perhaps another alternative is to make the data as possible as possible using their own code, and then just have a good βwaitingβ UX-keep user reporting progress and allows them to do things while it loads in the background. Most mobile users expect large amounts of data transfer at any time.
Ed hinchliffe
source share