Hi all,
I know this is about half-a-year late; I'm looking at upgrading from 0.9.19 to 0.10.0.
One of the pain-points I'm currently experiencing is the deprecation/removal of ng:eval. It is being in many places to define "aliases", something like
<tag ... ng:eval="p = pretty[complex].expression"...>
Initially, I replaced them with ng:init, but that turned out to be the wrong path, since ng:init expressions are not re-evaluated.
A hack I came up with would be to abuse ng:show in this manner:
<tag ... ng:show="p = pretty[complex].expression; true" ...>
since ng:show gets re-evaluated. But that is clearly inelegant.
I also thought of shifting these assignments into the controller/scope, but sometimes it's not possible, for example when "pretty" (in above code) is an ng-repeat iterator and is not immediately available in the controller/scope.
Suggestions? Thanks.
--
Ray Chuan