Make pagination listen on parent scope