Choose a version:
13% The original file has 1282070 bytes (1,252.0k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 169374 bytes (165.4k, 13%).

After GZIP compression these minified files vary in size:
Boot
  68382 bytes (66.8k)
CDN
cdnjs
  59540 bytes (58.1k)
CDN
unpkg
  59122 bytes (57.7k)
CDN
gzip -6 (default)
  59072 bytes (57.7k)
local copy
gzip -9
  58950 bytes (57.6k)
local copy
libdeflate -12
  57211 bytes (55.9k)
local copy
7zip -mx=9 -tgzip
  57164 bytes (55.8k)
local copy
kzip -s0 -rn -b0
  57159 bytes (55.8k)
local copy
pigz -11 -n
  57062 bytes (55.7k)
local copy
Zopfli
  57033 bytes (55.7k)
local copy
Zopfli (defluff)
  57031 bytes (55.7k)
local copy

perma-link to the smallest file on my server:
http://minime.stephan-brumme.com/files/angularjs/angular-1.6.7.min.js

You will automatically get the smallest AngularJS 1.6.7 file, ETag caching is available and
if your browser doesn't support GZIP decompression then the uncompressed version will be sent.

Currently best Zopfli settings

Save 2089 bytes by using my AngularJS 1.6.7 Zopfli version instead of the best available CDN (3.66% smaller than unpkg, 57033 vs. 59122 bytes):
You can use my super-compressed files for whatever purpose you like as long as you respect the library's original license agreement.
There are no restrictions from my side - but please avoid hot-linking if you run a high-traffic website.

These command-line settings yielded the best compression ratio so far (Linux version of zopfli-krzymod):
zopfli --i1000000 --mb8 --mls512 --bsr21 --lazy --ohh

(found November 27, 2017)
Description Value Parameter
iterations 1000000  --i1000000
maximum blocks 8  --mb8
maximum length score 512  --mls512
block splitting recursion 21  --bsr21
lazy matching in LZ77 yes  --lazy
optimized Huffman headers yes  --ohh
initial random W for iterations 1  --rw1
initial random Z for iterations 2  --rz2

Even Smaller Files Thanks To Defluff

Zopfli's output can be further optimized by the defluff tool.
In this particular case, defluff saves 2 more bytes (57031 bytes).

Verify file integrity

After decompression, my uncompressed files are identical to the original ones:

MD5:
curl --silent --compressed https://code.angularjs.org/1.6.7/angular.min.js --location | md5sum
6b44cd72268a4ab826d6918443b0d4bc  -
curl --silent --compressed http://minime.stephan-brumme.com/files/angularjs/angular-1.6.7.min.zopfli.js.gz | md5sum
6b44cd72268a4ab826d6918443b0d4bc  -

SHA1:
curl --silent --compressed https://code.angularjs.org/1.6.7/angular.min.js --location | sha1sum
5deb7d31c7d78a7a1e356a48a1c405794b465d29  -
curl --silent --compressed http://minime.stephan-brumme.com/files/angularjs/angular-1.6.7.min.zopfli.js.gz | sha1sum
5deb7d31c7d78a7a1e356a48a1c405794b465d29  -

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
Boot 68382 bytes 6b44cd72268a4ab826d6918443b0d4bc December 5, 2017 @ 09:27
cdnjs 59540 bytes 6b44cd72268a4ab826d6918443b0d4bc December 2, 2017 @ 18:03
unpkg 59122 bytes 6b44cd72268a4ab826d6918443b0d4bc (invalid)

Note: only the MD5 hashes are shown to keep things simple.

Other Versions

Available AngularJS versions at minime.stephan-brumme.com:

1.6.7, 1.6.6, 1.6.5, 1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6.0,
1.5.11, 1.5.10, 1.5.9, 1.5.8, 1.5.7, 1.5.6, 1.5.5, 1.5.4, 1.5.3, 1.5.2, 1.5.1, 1.5.0,
1.4.14, 1.4.13, 1.4.12, 1.4.11, 1.4.10, 1.4.9, 1.4.8, 1.4.7, 1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0,
1.3.20, 1.3.19, 1.3.18, 1.3.17, 1.3.16, 1.3.15, 1.3.14, 1.3.13, 1.3.12, 1.3.11, 1.3.10, 1.3.9, 1.3.8, 1.3.7, 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.2, 1.3.1, 1.3.0,
1.2.32, 1.2.31, 1.2.30, 1.2.29, 1.2.28, 1.2.27, 1.2.26, 1.2.25, 1.2.24, 1.2.23, 1.2.22, 1.2.21, 1.2.20, 1.2.19, 1.2.18, 1.2.17, 1.2.16, 1.2.15, 1.2.14, 1.2.13, 1.2.12, 1.2.11, 1.2.10, 1.2.9, 1.2.8, 1.2.7, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0,
1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0,
1.0.8, 1.0.7, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0,
0.10.6, 0.10.5, 0.10.4, 0.10.3, 0.10.2, 0.10.1, 0.10.0,
0.9.19, 0.9.18, 0.9.17, 0.9.16, 0.9.15, 0.9.14, 0.9.13, 0.9.12, 0.9.11, 0.9.10, 0.9.9, 0.9.8, 0.9.7, 0.9.6, 0.9.5, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0

The project site contains an overview how well these versions were compressed.
Other interesting projects are BackboneJS, Bootstrap, D3, Dojo, Ember, jQuery, Knockout, lodash, React, Socket.IO, ThreeJS, UnderscoreJS and Vue.

Changelog

Best Zopfli parameters so far:
Size Improvement Parameters Found
57033 bytes -2 bytes zopfli --i1000000 --mls512 --bsr21 --lazy --ohh November 27, 2017 @ 22:03
57035 bytes -1 byte zopfli --i100000 --mls256 --bsr12 --lazy --ohh November 27, 2017 @ 19:22
57036 bytes -1 byte zopfli --i100000 --mls512 --bsr18 --lazy --ohh November 27, 2017 @ 19:22
57037 bytes -2 bytes zopfli --i100000 --mls512 --bsr21 --lazy --ohh November 27, 2017 @ 13:29
57039 bytes -1 byte zopfli --i10000 --mls256 --bsr15 --lazy --ohh November 27, 2017 @ 12:45
57040 bytes -1 byte zopfli --i10000 --mls1024 --bsr15 --lazy --ohh November 27, 2017 @ 12:38
57041 bytes -1 byte zopfli --i10000 --mls512 --bsr21 --lazy --ohh November 27, 2017 @ 12:26
57042 bytes -3 bytes zopfli --i10000 --mls512 --bsr19 --lazy --ohh November 27, 2017 @ 12:26
57045 bytes -1 byte zopfli --i1000 --mls4096 --bsr19 --lazy --ohh November 27, 2017 @ 11:58
57046 bytes -13 bytes zopfli --i1000 --mls512 --bsr19 --lazy --ohh November 27, 2017 @ 11:54
57059 bytes zopfli --i100 --mls256 --bsr9 --lazy --ohh November 27, 2017 @ 11:49

If there are multiple parameter sets yielding the same compressed size, only the first one found is shown.

Most recent activity on December 5, 2017 @ 09:27.

Heatmaps

This Zopfli heatmap visualizes how compression changes when modifying the --bsr and --mls parameter.
Cell's contents is the best filesize achieved (in bytes, hover with mouse over cells to see number of iterations).

Good parameters are green, bad are red. The best and worst are bold as well.
The brightness of the blue background color indicates how many iterations were processed:
10,000, 100,000 or 1,000,000.
bsr \ mls
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
bsr \ mls
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
57098 57100 57091 57103 57086 57086 57084 57082 57082 57081 57173 57072 57173 57078 57099
57077 57074 57077 57084 57072 57067 57068 57052 57054 57066 57055 57057 57065 57067 57068
57083 57087 57077 57087 57074 57079 57065 57075 57069 57075 57054 57060 57064 57069 57081
57088 57059 57077 57070 57069 57079 57071 57070 57068 57072 57053 57065 57061 57066 57067
57084 57081 57086 57073 57070 57075 57078 57074 57052 57059 57062 57061 57062 57070 57054
57070 57081 57077 57084 57067 57082 57068 57053 57067 57063 57066 57059 57063 57068 57070
57077 57064 57059 57057 57058 57062 57041 57050 57051 57046 57054 57064 57063 57067 57065
57093 57084 57062 57081 57058 57058 57059 57042 57047 57045 57045 57046 57053 57066 57067
57087 57071 57075 57089 57045 57059 57061 57033 57051 57043 57045 57050 57051 57064 57069
57069 57074 57056 57057 57060 57058 57061 57060 57043 57048 57042 57050 57064 57063 57065
57072 57079 57068 57059 57058 57060 57060 57042 57053 57048 57042 57042 57054 57071 57062
57086 57042 57063 57060 57055 57061 57059 57034 57052 57039 57043 57053 57071 57063 57056
57086 57053 57060 57059 57054 57059 57061 57044 57043 57044 57052 57046 57050 57057 57070
57087 57077 57076 57082 57055 57059 57051 57052 57050 57044 57045 57053 57050 57070 57054
57092 57051 57067 57060 57060 57060 57043 57056 57036 57045 57047 57043 57049 57069 57068
57092 57087 57085 57057 57057 57059 57056 57058 57042 57045 57054 57042 57062 57067 57066
57069 57084 57077 57057 57056 57059 57060 57057 57053 57048 57044 57042 57062 57066 57066
57067 57080 57067 57057 57060 57064 57051 57045 57033 57047 57052 57042 57062 57069 57065
57080 57075 57080 57058 57056 57046 57057 57056 57052 57047 57054 57051 57064 57060 57067
57075 57065 57059 57054 57055 57059 57057 57058 57054 57045 57057 57065 57062 57066 57064
57071 57044 57066 57058 57054 57062 57059 57056 57047 57057 57043 57045 57050 57068 57065
57069 57054 57069 57071 57055 57061 57058 57060 57041 57046 57044 57051 57050 57068 57054
57070 57075 57067 57063 57057 57056 57055 57059 57048 57043 57042 57043 57052 57067 57054

Due to the Monte Carlo design of my search algorithm, not all parameters have reached the same number of iterations yet:
Iterations Min. Bytes Reduction Coverage
100 57059 bytes 100%
1,000 57045 bytes -14 bytes 100%
10,000 57039 bytes -6 bytes 100%
100,000 57035 bytes -4 bytes 1.45%
1,000,000 57033 bytes -2 bytes 0.87%
10,000,000

KZIP has far less options available for tuning/optimization. I only played around with the number of blocks (parameter -n):
Blocks Min. Bytes Compared To Best Zopfli Compared To Best KZIP
57159 bytes +126 bytes (+0.22%)
57159 bytes +126 bytes (+0.22%)
57183 bytes +150 bytes (+0.26%) +24 bytes
57194 bytes +161 bytes (+0.28%) +35 bytes
57196 bytes +163 bytes (+0.29%) +37 bytes
57199 bytes +166 bytes (+0.29%) +40 bytes
57192 bytes +159 bytes (+0.28%) +33 bytes
57226 bytes +193 bytes (+0.34%) +67 bytes
57237 bytes +204 bytes (+0.36%) +78 bytes

Non-DEFLATE Algorithms

Archivers based on completely different compression algorithms often produce superior results.
Unfortunately, browsers only support gzip compression at the moment.
Algorithm Program Parameters Size Compared To Best Zopfli
ZPAQ (Wikipedia) zpaq zpaq -method 69 44110 bytes -12923 bytes (-22.66%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 46589 bytes -10444 bytes (-18.31%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 48274 bytes -8759 bytes (-15.36%)
Brotli (Wikipedia) brotli brotli -q 11 51873 bytes -5160 bytes (-9.05%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 52601 bytes -4432 bytes (-7.77%)
LZMA2 (Wikipedia) xz xz -9 53352 bytes -3681 bytes (-6.45%)
ZSTD (Wikipedia) zstd zstd -19 54904 bytes -2129 bytes (-3.73%)

Detailled Analysis

I wrote a DEFLATE decoder in Javascript. Click the button below to start a client-side analysis of the smallest gzipped files (may take a second):


Notes: pigz is a fast open source multi-threaded implementation of gzip written by one of the original authors of gzip.
However, when using compression level 11, pigz actually switches to the slower Zopfli algorithm and isn't multi-threaded anymore.
KrzyMOD's extensions to Zopfli offer the highest level of configuration and is therefore used for my brute-force search.
Ken Silverman wrote the closed-source KZIP compression program and Jonathon Fowler ported it to Linux.
Defluff was created by Joachim Henke; DeflOpt is a tool by Ben Jos Walbeehm.

website made by Stephan Brumme in 2015 and still improving in 2017.
all timestamps are displayed in central european time. see my changelog.
no flash, not even images or external css files - and everything squeezed into a single html file.
which was handsomely compressed before releasing it into the wild internet - obviously.

please visit my homepage and my blog, too.
email: minime (at) stephan-brumme.com