Browser support
Angular supports most recent browsers. This includes the following specific versions:
Chrome | Firefox | Edge | IE | Safari | iOS | Android | IE mobile |
---|---|---|---|---|---|---|---|
latest | latest | 14 | 11 | 9 | 9 | Marshmallow (6.0) | 11 |
13 | 10 | 8 | 8 | Lollipop (5.0, 5.1) |
|||
9 | 7 | 7 | KitKat (4.4) |
||||
Jelly Bean (4.1, 4.2, 4.3) |
Angular's continuous integration process runs unit tests of the framework on all of these browsers for every pull request, using SauceLabs and Browserstack.
Polyfills
Angular is built on the latest standards of the web platform. Targeting such a wide range of browsers is challenging because they do not support all features of modern browsers.
You compensate by loading polyfill scripts ("polyfills") on the host web page (index.html
) that implement missing features in JavaScript.
<!-- Polyfill(s) for older browsers --> <script src="node_modules/core-js/client/shim.min.js"></script>
A particular browser may require at least one polyfill to run any Angular application. You may need additional polyfills for specific features.
The tables below will help you determine which polyfills to load, depending on the browsers you target and the features you use.
The suggested polyfills are the ones we know will run full Angular applications. You may need additional polyfills to support features not covered by this list. Note that polyfills cannot magically transform an old, slow browser into a modern, fast one.
Mandatory polyfills
These are the polyfills required to run an Angular application on each supported browser:
Browsers (desktop & mobile) | Polyfills required |
---|---|
Chrome, Firefox, Edge, Safari 9+ | None |
Safari 7 & 8, IE10 & 11, Android 4.1+ | |
IE9 |
Optional browser features to polyfill
Some features of Angular may require additional polyfills.
For example, the animations library relies on the standard web animation API, which is only available in Chrome and Firefox today. You'll need a polyfill to use animations in other browsers.
Here are the features which may require additional polyfills:
Feature | Polyfill | Browsers (desktop & mobile) |
---|---|---|
Animations | All but Chrome and Firefox Not supported in IE9 |
|
Date, currency, decimal and percent pipes | All but Chrome, Firefox, Edge and IE11 | |
NgClass on SVG elements | IE10, IE11 | |
Http when sending and receiving binary data | IE 9 |
Suggested polyfills
Below are the polyfills which are used to test the framework itself. They are a good starting point for an application.
Polyfill | Licence | Size* |
---|---|---|
ES6 | MIT | 27.4KB |
classList | Public domain | 1KB |
Intl | MIT / Unicode licence | 13.5KB |
Web Animations | Apache | 14.8KB |
Typed Array | MIT | 4KB |
Blob | MIT | 1.3KB |
FormData | MIT | 0.4KB |
- Figures are for minified and gzipped code, computed with the closure compiler
Please login to continue.