install angularfireauth angular code example Example 1: install angular fire ng add @angular/fire Example 2: add firebase angular npm install firebase @angular/fire