AngularJS: Memory Leak with ng-repeat using custom objects (w/simple PLUNKR)
问题 (simple plunkr demo here) SUMMARY: There is a leak using ng-repeat after the 2nd wave iterating over an 'array' of custom objects like this : <div ng-repeat="d_sampleObject in mySampleObjects"> {{d_sampleObject.description}} </div> Memory profile reveals an extra 'd_sampleObject' left over and not de-referenced. More details (via a controller and an injected service) below. A simple demonstration also in the provided plunkr link. Any thoughts and help greatly appreciated in advance! NOTE: