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

IE8+9 Error with <ng-include> not <div ng-include ></div> #1736

Closed

Description

@tonypee

when including templates in this fashion i get the error:
<ng-include src="'partials/pages/events.nav.html'" ></ng-include></code>

its fine like this:
<div ng-include src="'partials/pages/events.nav.html'" ></div></code>

Error:

Error: Unexpected call to method or property access.

Activity

  1. pkozlowski-opensource commented on Dec 20, 2012

    @pkozlowski-opensource
    Member

    @tonypee did you go over the http://docs.angularjs.org/guide/ie
    and applied all the recommendations, especially this one:

    <head>
        <!--[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]-->
      </head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions