Thanks to visit codestin.com
Credit goes to github.com

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.

fix(IE8+JQuery): "Object doesn't support this property or method" on route change #1876

Closed
@jonbcard

Description

@jonbcard

Not sure of the detailed route cause on this one yet, but Angular 1.1.2 seems to have a regression around the $routeChangeSuccess event when used on IE8 w/ JQuery . While the update() method is running, it bombs out while calling

element.contents().data('$ngControllerController', controller);

JSFiddle showing the issue:
http://jsfiddle.net/HsQRN/6/
Note that the new route doesn't load correctly, and that there is a console error. Works fine with 1.0.4, or without JQuery.

Edit: Updated the JSFiddle

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions