angular app and firebase as backend api