fixed a bug when vsRepeat was nested inside another ngRepeat