migrate to the Stream API of angulillos