Firebase Infinite Scroll for Ionic3 only

I am very new to Ionic and it is really difficult for me to add the infinite scroll with Firebase.
There are tutorials using Angular but my problem is, I get errors when running “g service” command.
Some of the syntax on the tutorials are really different like using the “angular.module”.

Is there any tutorial for Ionic3 ONLY. If there is none, can someone please explain how can I achieve this. Thanks in advance.