From 2d66777c0e308de30e9dba59f539d2155e810269 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcus=20P=C3=B6hls?= <mp@seda.digital>
Date: Mon, 24 Jan 2022 09:15:33 +0100
Subject: [PATCH] add service provider docs

---
 service-providers.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/service-providers.md b/service-providers.md
index 32a0d3f..43930a5 100644
--- a/service-providers.md
+++ b/service-providers.md
@@ -100,4 +100,16 @@ export class MarkdownServiceProvider extends ServiceProvider {
 
 
 ## Registering Providers
-tba.
+All service providers are registered through the `bootstrap/providers.ts` file. This file must export a `providers` property. The value of this property is an array of service providers. You’ll find a handful of default service providers, for example the route service provider.
+
+Add service providers from community packages or your own modules to this list:
+
+```ts
+import { MarkdownServiceProvider } from '../app/modules/markdown'
+
+export const providers: ServiceProviderCtor[] = [
+  // other service providers
+
+  MarkdownServiceProvider,
+]
+```