Let’s start discussion about uploading and downloading binary files from your Angular 4 and 5 apps without a line of server code. Firstly Install Firebase and AngularFire from NPM in your apps and it allow us to easily and securely manage a Cloud Storage bucket. The Firebase is a server-less ways to upload and download binary files straight from the browsers- npm i firebase angularfire2 Add Firebase and AngularFire in your NgModule – //Import AngularFire in angular 5+ apps import { AngularFireModule } from 'angularfire2/angularfire2' ; import { AngularFireStorage , AngularFireStorageModule } from 'angularfire2/storage' ; @ NgModule ({ declarations: [ AppComponent , LoginComponent , UserComponent ], imports: [ BrowserModule , AngularFireModule . initializeApp ({ apiK...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers