fix(ngRepeat): fixed a memory leak