From e0022ae9cd70464d5b0f958585d81054e549f816 Mon Sep 17 00:00:00 2001 From: Enzo Volkmann Date: Fri, 26 Jan 2018 06:51:09 +0100 Subject: [PATCH] docs: Fix platform-detection example for Universal (#21796) PR Close #21796 --- aio/content/examples/universal/src/app/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/universal/src/app/app.module.ts b/aio/content/examples/universal/src/app/app.module.ts index 6d07040733..1dab81e17b 100644 --- a/aio/content/examples/universal/src/app/app.module.ts +++ b/aio/content/examples/universal/src/app/app.module.ts @@ -53,7 +53,7 @@ export class AppModule { @Inject(PLATFORM_ID) private platformId: Object, @Inject(APP_ID) private appId: string) { const platform = isPlatformBrowser(platformId) ? - 'on the server' : 'in the browser'; + 'in the browser' : 'on the server'; console.log(`Running ${platform} with appId=${appId}`); } // #enddocregion platform-detection