Skip to content

Instantly share code, notes, and snippets.

@practice
Created April 13, 2013 06:18
Show Gist options
  • Save practice/5377258 to your computer and use it in GitHub Desktop.
Save practice/5377258 to your computer and use it in GitHub Desktop.
html5shim for angularjs
<!--[if lte IE 8]>
<script>
document.createElement('ng-include');
document.createElement('ng-pluralize');
document.createElement('ng-view');
// Optionally these for CSS
document.createElement('ng:include');
document.createElement('ng:pluralize');
document.createElement('ng:view');
</script>
<![endif]-->
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment