Use event emitter to update UI
Test nested repeats