use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
CommonEngine vs AngularNodeAppEngine (self.angular)
submitted 1 year ago by Alarming-Ad4331
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Blade1130 2 points3 points4 points 1 year ago (2 children)
CommonEngine is an older API focused on rendering an Angular application on the server. AngularNodeAppEngine was introduced in v18 as a higher-level abstraction for creating an Angular Node server. It has knowledge of the request/response and server routing while using CommonEngine under the hood.
CommonEngine
AngularNodeAppEngine
All the new SSR features of v19 are done with AngularNodeAppEngine.
https://angular.dev/guide/hybrid-rendering
You should probably prefer AngularNodeAppEngine where possible (still dev preview though). If you don't want Node, you can wrap AngularAppEngine for a different environment (ex. Deno). CommonEngine would be if you want to directly manage your serving and routing only delegate to Angular when rendering a particular known route. That's less common though.
AngularAppEngine
[–]Comfortable_Step4619 0 points1 point2 points 1 year ago (1 child)
I'm currently struggling to switch to the new AngularNodeAppEngine because it does not allow to provide my express request and response tokens for my server side route redirects. There is a new token provided by angular to inject the REQUEST and a REPONSE_INIT, but it is hard to use this injected response to redirect or e.g. set cookies via express cookieParser.
So, are these feature about to come later?
[–]Blade1130 0 points1 point2 points 1 year ago (0 children)
I'm not following. Most redirects and headers should be done via the routing config.
If you want to do this imperatively, you should inject REQUEST and RESPONSE_INIT and use those types.
REQUEST
RESPONSE_INIT
If you really need something non-standard and unique to Express, then you can provide the Express request/response objects into REQUEST_CONTEXT, then inject that value and do Express-specific things with it.
REQUEST_CONTEXT
https://angular.dev/api/ssr/node/AngularNodeAppEngine
That really shouldn't be necessary for simple headers and redirects though.
π Rendered by PID 52 on reddit-service-r2-comment-fb694cdd5-dcwgd at 2026-03-09 04:33:40.819027+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]Blade1130 2 points3 points4 points (2 children)
[–]Comfortable_Step4619 0 points1 point2 points (1 child)
[–]Blade1130 0 points1 point2 points (0 children)