ionic tutorial app modified to leverage firebase