+ Top slot
+ Main content in the modal
+
+ Slotted content in the bottom
+
+
+ `,
+ standalone: true,
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
+})
+export class ModalExampleComponent implements AfterViewInit {
+ @ViewChild('modal') modalRef!: ElementRef;
+
+ showModal() {
+ if (this.modalRef.nativeElement) {
+ this.modalRef.nativeElement.show()
+ }
+ }
+
+}
+```
+
+## Dependency Injection
+
+Foundation UI has a suite of services that can be added to your application via dependency injection.
+
+For example, if you want to use the Connect service, the best approach is to create an injection token and register it in your app module.
+
+:::info
+You can follow this same procedure for any other service from the framework that works via dependency injection.
+:::
+
+**connect-service.ts**
+
+```ts
+import { Connect, getConnect } from '@genesislcap/foundation-comms';
+import { InjectionToken } from '@angular/core';
+
+export const connectService = getConnect();
+export const CONNECT_TOKEN = new InjectionToken