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.

ng-repeat-start error with angular 1.5.0 #14041

Closed
@kimx

Description

@kimx

Hello
I have an empty array that will use ng-repeat-start to render HTML.But I got some error when click button to add item to array. As below photo

angular-1 5 0-ng-repeat-start-error
ps:

I've tried kind of various to find out.Finally I found below code will cause this error.

app.directive("ngRepeat", ['$animate', function ($animate) {
return function ($scope, $element) {
$animate.enabled($element, false);
};
}]);

At beginning I thought it caused by $animate.enabled. after I empty the function as below code that still error.

app.directive("ngRepeat", [ function () {
return function ($scope, $element) {
};
}]);

Ps:1.This problem just occurs when I upgrade to 1.5.0
2.I use chrome 64 bit.This error will not occurs on IE 11 or IE Edge

simple example
plnkr

Please help the Issue,thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions