angular/angular.js — pull request #4389 by capaj (2013-10-12 21:43:50+00:00)
Title: refactor(ngSanitize): avoiding setting 'last' property on array

If 'last' property on 'stack' array is defined by Object.defineProperty with setter, assigning to 'last' uses setter and assigns function into array instead of adding it as a method, then htmlParser always fails. Defining it outside of array avoids the conflict on 'last' property alltogether.