Set _middle to correct value in ngRepeat.