refactor and using angular fire object

I performed a refactor /*Yet still needs to refactor to angular fire
object the updated child and removed child listeners */ one function
goes to the pagination methods