Costpad using angular and Firebase