Browser support and polyfills guide.
Angular supports most recent browsers. This includes the following specific versions:
Chrome | Firefox | Edge | IE | Safari | iOS | Android | IE mobile |
---|---|---|---|---|---|---|---|
latest | latest | 14 | 11 | 10 | 10 | Marshmallow (6.0) | 11 |
13 | 10 | 9 | 9 | Lollipop(5.0, 5.1) | |||
9 | 8 | 8 | KitKat(4.4) | ||||
7 | 7 | 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.
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 can compensate by loading polyfill scripts ("polyfills") on the host web page (index.html
) that implement missing features in JavaScript.
<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 can help you determine which polyfills to load, depending on the browsers you target and the features you use.
The suggested polyfills are the ones that 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.
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 |
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 FirefoxNot supported in IE9 | |
Date, currency, decimal and percent pipes | All but Chrome, Firefox, Edge, IE11 and Safari 10 | |
NgClass on SVG elements | IE10, IE11 | |
Http when sending and receiving binary data | IE 9 |
Below are the polyfills which are used to test the framework itself. They are a good starting point for an application.
Polyfill | License | Size* |
---|---|---|
ES6 | MIT | 27.4KB |
classList | Public domain | 1KB |
Intl | MIT / Unicode license | 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.
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/guide/browser-support.html