Angular-meteor ORM-like one-to-many relationship without infinite-digest issues -
i'm working on user-roles relationship, , code works except produces infinite digest error on angular side, think has performance implications. in user class (es2015), have: get roles() { return roles.findbyids(this._roleids).fetch() } and problem above getter returns new object every time, in angular's eyes, they're not equal. tried track by , follows: <ul> <li ng-repeat="role in user.roles track role._id"> {{role.name}} </li> </ul> which throws following exception: uncaught error: [$rootscope:infdig] 10 $digest() iterations reached. aborting! watchers fired in last 5 iterations: [[{"msg":"fn: regularinterceptedexpression","newval":20,"oldval":19}],[{"msg":"fn: regularinterceptedexpression","newval":21,"oldval":20}],[{"msg":"fn: regularinterceptedexpression","newval":22,"oldval":21}],[{"msg...