Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9147d5c

Browse files
committed
docs(ngComponentRouter): add note about shims needed for IE
1 parent cb80137 commit 9147d5c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/ngComponentRouter/Router.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
* @installation
55
* ## Installation
66
*
7-
* Currently use `npm` to install the **Component Router** module:
7+
* Currently, the **Component Router** module must be installed via `npm`, it is not yet available
8+
* on Bower or the Google CDN.
89
*
910
* ```bash
1011
* npm install @angular/router --save
@@ -15,6 +16,14 @@
1516
* <script src="/node_modules/@angular/router/angular1/angular_1_router.js"></script>
1617
*```
1718
*
19+
* You also need to include ES6 shims to support running on Internet Explorer:
20+
* ```html
21+
* <!-- IE required polyfills, in this exact order -->
22+
* <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
23+
* <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
24+
* <script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
25+
* ```
26+
*
1827
* Then load the module in your application by adding it as a dependent module:
1928
*
2029
* ```js

0 commit comments

Comments
 (0)