Choose a version:
14% The original file has 1100595 bytes (1,074.8k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 151165 bytes (147.6k, 14%).

After GZIP compression these minified files vary in size:
Boot
  61719 bytes (60.3k)
CDN
cdnjs
  53996 bytes (52.7k)
CDN
unpkg
  53640 bytes (52.4k)
CDN
gzip -6 (default)
  53635 bytes (52.4k)
local copy
Google
  53571 bytes (52.3k)
CDN
gzip -9
  53554 bytes (52.3k)
local copy
kzip -s0 -rn -b0
  51866 bytes (50.7k)
local copy
libdeflate -12
  51862 bytes (50.6k)
local copy
7zip -mx=9 -tgzip
  51853 bytes (50.6k)
local copy
zultra
  51839 bytes (50.6k)
local copy
pigz -11 -n
  51815 bytes (50.6k)
local copy
Zopfli
  51724 bytes (50.5k)
local copy
Zopfli (defluff)
  51723 bytes (50.5k)
local copy

perma-link to the smallest file on my server:
http://minime.stephan-brumme.com/files/angularjs/angular-1.4.13.min.js (or via HTTPS)

You will automatically get the smallest AngularJS 1.4.13 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 1847 bytes by using my AngularJS 1.4.13 Zopfli version instead of the best available CDN (3.57% smaller than Google, 51724 vs. 53571 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 --mls16 --bsr21 --lazy --ohh

(found October 13, 2016)
Description Value Parameter
iterations 1000000  --i1000000
maximum blocks 8  --mb8
maximum length score 16  --mls16
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 1 more byte (51723 bytes).

Verify file integrity

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

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

SHA1:
curl --silent --compressed https://code.angularjs.org/1.4.13/angular.min.js --location | sha1sum
1e9139aed49245767ba27cb9819fa2389ed77156  -
curl --silent --compressed https://minime.stephan-brumme.com/files/angularjs/angular-1.4.13.min.zopfli.js.gz | sha1sum
1e9139aed49245767ba27cb9819fa2389ed77156  -

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
Boot 61719 bytes 929928991c55ff75d583f5eead1fd04f October 12, 2016 @ 16:12
cdnjs 53996 bytes 929928991c55ff75d583f5eead1fd04f October 11, 2016 @ 10:02
unpkg 53640 bytes 929928991c55ff75d583f5eead1fd04f October 12, 2016 @ 00:21
Google 53571 bytes 929928991c55ff75d583f5eead1fd04f November 22, 2016 @ 20:39

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

Other Versions

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

1.8.2, 1.8.1, 1.8.0,
1.7.9, 1.7.8, 1.7.7, 1.7.6, 1.7.5, 1.7.4, 1.7.3, 1.7.2, 1.7.1, 1.7.0,
1.6.10, 1.6.9, 1.6.8, 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
51724 bytes -2 bytes zopfli --i1000000 --mls16 --bsr21 --lazy --ohh October 13, 2016 @ 07:15
51726 bytes -3 bytes zopfli --i100000 --mls16 --bsr21 --lazy --ohh October 12, 2016 @ 01:24
51729 bytes -1 byte zopfli --i10000 --mls16 --bsr21 --lazy --ohh October 11, 2016 @ 09:24
51730 bytes -2 bytes zopfli --i100000 --mls8 --bsr20 --lazy --ohh October 11, 2016 @ 07:04
51732 bytes -1 byte zopfli --i10000 --mls8 --bsr20 --lazy --ohh October 11, 2016 @ 06:26
51733 bytes -4 bytes zopfli --i1000 --mls8 --bsr20 --lazy --ohh October 11, 2016 @ 06:17
51737 bytes -4 bytes zopfli --i1000 --mls32768 --bsr22 --lazy --ohh October 11, 2016 @ 06:17
51741 bytes -10 bytes zopfli --i1000 --mls32768 --bsr14 --lazy --ohh October 11, 2016 @ 06:16
51751 bytes zopfli --i100 --mls32768 --bsr14 --lazy --ohh October 11, 2016 @ 06:09

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

Most recent activity on July 20, 2020 @ 12:43.

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
51790 51791 51791 51789 51790 51792 51792 51794 51791 51790 51779 51781 51784 51780 51789
51770 51746 51748 51746 51778 51762 51765 51771 51770 51776 51773 51763 51772 51760 51765
51759 51734 51732 51750 51755 51760 51760 51761 51756 51762 51760 51760 51774 51764 51766
51753 51762 51751 51733 51763 51778 51774 51783 51748 51762 51781 51772 51775 51761 51762
51770 51741 51776 51724 51753 51771 51772 51773 51756 51759 51752 51761 51781 51761 51760
51763 51748 51754 51739 51753 51757 51760 51756 51773 51771 51761 51763 51774 51761 51732
51760 51753 51753 51755 51773 51750 51754 51753 51757 51763 51761 51761 51774 51765 51761
51757 51756 51731 51742 51762 51757 51759 51753 51754 51766 51748 51750 51772 51764 51736
51757 51767 51769 51768 51764 51760 51759 51752 51761 51762 51749 51773 51775 51761 51733
51758 51751 51791 51742 51762 51771 51759 51772 51761 51768 51761 51764 51775 51749 51731
51757 51768 51741 51748 51776 51757 51760 51752 51747 51762 51749 51749 51773 51752 51735
51764 51757 51746 51731 51749 51758 51760 51772 51761 51763 51747 51747 51774 51761 51733
51760 51744 51740 51746 51752 51761 51762 51753 51761 51762 51764 51773 51774 51761 51761
51763 51754 51748 51739 51752 51757 51759 51759 51742 51772 51762 51749 51775 51760 51760
51771 51741 51740 51744 51745 51760 51759 51771 51772 51762 51762 51762 51774 51761 51734
51760 51746 51732 51742 51754 51757 51759 51772 51753 51763 51752 51748 51774 51761 51761
51760 51742 51730 51733 51751 51757 51759 51753 51757 51762 51750 51762 51775 51761 51735
51759 51746 51744 51724 51751 51757 51760 51752 51752 51762 51748 51748 51773 51760 51732
51760 51740 51736 51737 51744 51756 51761 51752 51746 51762 51753 51749 51773 51754 51734
51761 51756 51748 51728 51752 51758 51759 51752 51748 51762 51747 51748 51774 51762 51734
51755 51757 51753 51750 51761 51748 51749 51754 51742 51763 51750 51749 51774 51753 51773
51750 51753 51753 51747 51743 51746 51748 51748 51748 51751 51761 51741 51777 51761 51733
51746 51750 51760 51747 51748 51750 51751 51747 51743 51752 51740 51756 51775 51761 51733

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 51751 bytes 100%
1,000 51733 bytes -18 bytes 100%
10,000 51729 bytes -4 bytes 100%
100,000 51726 bytes -3 bytes 1.16%
1,000,000 51724 bytes -2 bytes 0.58%
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
51866 bytes +142 bytes (+0.27%)
51866 bytes +142 bytes (+0.27%)
51881 bytes +157 bytes (+0.30%) +15 bytes
51881 bytes +157 bytes (+0.30%) +15 bytes
51893 bytes +169 bytes (+0.33%) +27 bytes
51917 bytes +193 bytes (+0.37%) +51 bytes
51914 bytes +190 bytes (+0.37%) +48 bytes
51934 bytes +210 bytes (+0.41%) +68 bytes
51921 bytes +197 bytes (+0.38%) +55 bytes

Non-DEFLATE Algorithms

Archivers based on completely different compression algorithms often produce superior results.
Unfortunately, browsers only support gzip compression at the moment.
However, support for Brotli is constantly growing - but your browser doesn't support it.
Algorithm Program Parameters Size Compared To Best Zopfli
ZPAQ (Wikipedia) zpaq zpaq -method 69 40271 bytes -11453 bytes (-22.14%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 42481 bytes -9243 bytes (-17.87%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 43868 bytes -7856 bytes (-15.19%)
Brotli (Wikipedia) brotli brotli -q 11 47060 bytes -4664 bytes (-9.02%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 47918 bytes -3806 bytes (-7.36%)
LZMA2 (Wikipedia) xz xz -9 48532 bytes -3192 bytes (-6.17%)
Zstandard (Wikipedia) zstd zstd -19 49984 bytes -1740 bytes (-3.36%)

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 2024.
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

All trademarks are property of their respective owners. You know, the boring legal stuff.