Execute function on ngRepeat done.