-
Notifications
You must be signed in to change notification settings - Fork 27.4k
angular expression assignment bug #3869
Comments
... Am I the only one not in holidays ? Or was the triggered issue perhaps stupid ( ... I don't believe it) ? |
I think this is because ng-init internally calls This would probably be a question to the core team to decide what the correct implementation should be. |
@et the bitwise OR operator is commented out. This issue is not a bug, and this is why: The problem is that IMHO, this is the expected behaviour: So |
@rodyhaddad - good call. I agree with the expected behavior. Is there a place in the docs that mention the precedence? |
Clears up expression priority issue Closes angular#3869 Closes angular#5873
Clears up expression priority issue Closes angular#3869 Closes angular#5873
hi,
i just recognized that angular expression assignments with filter seems to be buggy (tested in Angular 1.1.5).
When i do an assignment within an ng-init
i just get just data without applied orderBy. the same without assignment
works as expected (orderBy is applied).
I can workaround it by rewriting my ng-init assignment to
Testcase : http://jsfiddle.net/lgersman/kMcnU/
Kind regards,
Lars
The text was updated successfully, but these errors were encountered: