perf(ngRepeat): move updateScope fn to factory and reuse it for all repeaters