We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f3dae commit b91cd5aCopy full SHA for b91cd5a
docs/storage/storage.md
@@ -26,6 +26,20 @@ import { environment } from '../environments/environment';
26
export class AppModule {}
27
```
28
29
+The `StorageBucket` injection token can be used to customise the storage bucket.
30
+
31
+```ts
32
+import {AngularFireStorageModule, StorageBucket} from '@angular/fire/storage';
33
34
+@NgModule({
35
+ providers: [
36
+ { provide: StorageBucket, useValue: 'my-bucket-name' }
37
+ ],
38
+ ...
39
+})
40
+export class AppModule {}
41
+```
42
43
### Injecting the AngularFireStorage service
44
45
Once the `AngularFireStorageModule` is registered you can inject the `AngularFireStorage` service.
0 commit comments