fix(docs): added note about needing JSON shim for IE7 and earlier

This commit is contained in:
Brian Ford 2012-07-19 10:50:36 -07:00 committed by Igor Minar
parent e0a54f6b20
commit 536de14821

View file

@ -12,10 +12,14 @@ on IE v8.0 or earlier.
To make your angular application work on IE please make sure that:
1. you **do not** use custom element tags such as `<ng:view>` (use the attribute version `<div
1. You provide JSON.stringify (via
[Douglas Crockford's JSON2 library](https://github.com/douglascrockford/JSON-js), or similar)
if the browser does not have it. IE7 and earlier will need this.
2. you **do not** use custom element tags such as `<ng:view>` (use the attribute version `<div
ng-view>` instead), or
2. if you **do use** custom element tags, then you must take these steps to make IE happy:
3. if you **do use** custom element tags, then you must take these steps to make IE happy:
<pre>
<html xmlns:ng="http://angularjs.org">