---
title: "Discussion on \"Angular Universal: passing server data to client in APP_INITIALIZER\" | Hashnode"
description: "Discussion on \"Angular Universal: passing server data to client in APP_INITIALIZER\". If you keep data about the user in session of the express server that  Angular Universal  uses, you need to pass this data when the user first loads the page. \nFor a smooth data flow, you need to do the following:\n\nCreate an  injection token  for the..."
url: "https://hashnode.com/posts/angular-universal-passing-server-data-to-client-in-appinitializer/61619aab8e8734462af5fbf7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Angular Universal: passing server data to client in APP\_INITIALIZER](https://featuringcode.com/angular-universal-passing-server-data-to-client-in-appinitializer?utm_source=hashnode&utm_medium=feed)

If you keep data about the user in session of the express server that Angular Universal uses, you need to pass this data when the user first loads the page. For a smooth data flow, you need to do the following: Create an injection token for the...

Oct 9, 2021 · 3 min read · featuringcode.com  
Read the article

-   [#angular](https://hashnode.com/tag/angular)

## Written by

[Mihai Marinescu](https://hashnode.com/@mmarinescu)

@mmarinescu · Romania, Bragadiru

  
[View profile](https://hashnode.com/@mmarinescu)

Frontend web developer writing backend.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
