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

After GZIP compression these minified files vary in size:
Boot
  67639 bytes (66.1k)
CDN, direct link
cdnjs
  59073 bytes (57.7k)
CDN, direct link
Google
  58905 bytes (57.5k)
CDN, direct link
gzip -6 (default)
  58608 bytes (57.2k)
local copy
unpkg
  58597 bytes (57.2k)
CDN, direct link
gzip -9
  58466 bytes (57.1k)
local copy
7zip -mx=9 -tgzip
  56685 bytes (55.4k)
local copy
kzip -s0 -rn -b1
  56680 bytes (55.4k)
local copy
libdeflate -12
  56653 bytes (55.3k)
local copy
pigz -11 -n
  56598 bytes (55.3k)
local copy
Zopfli
  56553 bytes (55.2k)
local copy

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

You will automatically get the smallest AngularJS 1.6.3 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 2044 bytes by using my AngularJS 1.6.3 Zopfli version instead of the best available CDN (3.61% smaller than unpkg, 56553 vs. 58597 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 --mls4 --bsr14 --lazy --ohh

(found March 24, 2017)
Description Value Parameter
iterations 1000000  --i1000000
maximum blocks 8  --mb8
maximum length score 4  --mls4
block splitting recursion 14  --bsr14
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

Verify file integrity

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

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

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

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
Boot 67639 bytes ff3cbc503958c63ba95a62ad54ee1fbe March 12, 2017 @ 22:33
cdnjs 59073 bytes ff3cbc503958c63ba95a62ad54ee1fbe March 8, 2017 @ 14:33
Google 58905 bytes ff3cbc503958c63ba95a62ad54ee1fbe March 14, 2017 @ 19:15
unpkg 58597 bytes ff3cbc503958c63ba95a62ad54ee1fbe March 11, 2017 @ 02:10

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

Other Versions

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

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
56553 bytes -1 byte zopfli --i1000000 --mls4 --bsr14 --lazy --ohh March 24, 2017 @ 00:24
56554 bytes -7 bytes zopfli --i100000 --mls4 --bsr14 --lazy --ohh March 23, 2017 @ 08:21
56561 bytes -1 byte zopfli --i10000 --mls4 --bsr14 --lazy --ohh March 21, 2017 @ 16:27
56562 bytes -1 byte zopfli --i10000 --mls512 --bsr40 --lazy --ohh March 21, 2017 @ 15:46
56563 bytes -1 byte zopfli --i10000 --mls128 --bsr13 --lazy --ohh March 21, 2017 @ 15:39
56564 bytes -2 bytes zopfli --i10000 --mls128 --bsr40 --lazy --ohh March 21, 2017 @ 15:32
56566 bytes -1 byte zopfli --i1000 --mls512 --bsr40 --lazy --ohh March 21, 2017 @ 11:23
56567 bytes -2 bytes zopfli --i1000 --mls128 --bsr13 --lazy --ohh March 21, 2017 @ 11:19
56569 bytes -8 bytes zopfli --i1000 --mls128 --bsr22 --lazy --ohh March 21, 2017 @ 11:16
56577 bytes zopfli --i100 --mls128 --bsr21 --lazy --ohh March 11, 2017 @ 04:05

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

Most recent activity on March 24, 2017 @ 00:24.

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
56615 56614 56616 56615 56616 56607 56609 56606 56608 56609 56610 56590 56694 56602 56601
56594 56593 56600 56593 56596 56586 56593 56578 56578 56585 56589 56576 56586 56576 56590
56599 56597 56595 56592 56597 56595 56581 56583 56584 56580 56585 56584 56585 56584 56591
56605 56593 56597 56594 56593 56591 56578 56580 56590 56580 56593 56585 56582 56584 56594
56598 56591 56592 56593 56591 56595 56569 56578 56579 56591 56589 56589 56594 56579 56585
56580 56581 56592 56593 56597 56588 56576 56573 56578 56566 56576 56576 56586 56576 56588
56596 56579 56597 56576 56577 56578 56581 56572 56566 56564 56564 56577 56584 56580 56588
56588 56583 56598 56593 56581 56578 56576 56570 56569 56567 56568 56585 56579 56582 56592
56591 56595 56594 56593 56592 56571 56592 56578 56555 56566 56573 56585 56567 56577 56591
56575 56572 56574 56574 56579 56570 56563 56569 56572 56567 56565 56586 56574 56580 56587
56586 56553 56596 56592 56578 56577 56568 56563 56569 56566 56565 56585 56564 56581 56591
56605 56568 56593 56594 56579 56579 56559 56571 56573 56566 56572 56577 56588 56578 56591
56592 56597 56594 56588 56568 56578 56568 56570 56572 56564 56564 56584 56563 56579 56596
56592 56596 56595 56566 56564 56575 56567 56568 56572 56565 56564 56585 56557 56572 56594
56592 56578 56595 56581 56579 56571 56566 56568 56574 56567 56565 56584 56589 56563 56592
56569 56567 56594 56587 56575 56579 56573 56568 56573 56568 56558 56584 56589 56577 56591
56571 56584 56584 56584 56578 56587 56572 56567 56579 56565 56566 56585 56586 56577 56594
56569 56575 56584 56586 56594 56572 56566 56569 56570 56566 56576 56576 56589 56577 56591
56584 56580 56590 56586 56579 56577 56565 56568 56568 56565 56564 56576 56587 56589 56592
56578 56586 56588 56587 56573 56569 56578 56578 56569 56567 56568 56586 56582 56587 56591
56583 56572 56585 56585 56579 56581 56583 56580 56578 56571 56575 56587 56578 56585 56590
56574 56573 56585 56577 56579 56575 56567 56569 56568 56569 56571 56586 56557 56571 56584
56568 56574 56594 56592 56564 56575 56564 56563 56559 56567 56568 56565 56590 56577 56589

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 56577 bytes 100%
1,000 56566 bytes -11 bytes 100%
10,000 56561 bytes -5 bytes 100%
100,000 56554 bytes -7 bytes 2.03%
1,000,000 56553 bytes -1 byte 0.29%
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
56681 bytes +128 bytes (+0.23%) +1 byte
56680 bytes +127 bytes (+0.22%)
56693 bytes +140 bytes (+0.25%) +13 bytes
56700 bytes +147 bytes (+0.26%) +20 bytes
56695 bytes +142 bytes (+0.25%) +15 bytes
56707 bytes +154 bytes (+0.27%) +27 bytes
56719 bytes +166 bytes (+0.29%) +39 bytes
56707 bytes +154 bytes (+0.27%) +27 bytes
56744 bytes +191 bytes (+0.34%) +64 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 43628 bytes -12925 bytes (-22.85%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 46144 bytes -10409 bytes (-18.41%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 47877 bytes -8676 bytes (-15.34%)
Brotli (Wikipedia) brotli brotli -q 11 51327 bytes -5226 bytes (-9.24%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 52084 bytes -4469 bytes (-7.90%)
LZMA2 (Wikipedia) xz xz -9 52808 bytes -3745 bytes (-6.62%)
ZSTD (Wikipedia) zstd zstd -19 54379 bytes -2174 bytes (-3.84%)

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