view all in angular listing refactor