use firebase in angular code example Example: add firebase angular npm install firebase @angular/fire