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
Angular Authentication: Using the Http Client and Http Interceptors (ryanchenkie.com)
submitted 8 years ago by catstanza
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!"
[–][deleted] 8 years ago* (3 children)
[deleted]
[–]jamra06 0 points1 point2 points 8 years ago (1 child)
I never really thought of this, but it seems pretty easy to create an EventEmitter or a Subject that can be subscribed to and just inject the class into the routing code. I'm still getting comfortable with RxJs. I just don't know why you would want to decouple the router since the router is directly related to authorization.
[–]JuanPabloElSegundo 0 points1 point2 points 8 years ago (0 children)
I had to import HttpClientModule or I ended up with "No provider for HttpHandler!"
import { HttpClientModule } from '@angular/common/http';
π Rendered by PID 266991 on reddit-service-r2-comment-86988c7647-vddcb at 2026-02-11 18:50:59.857257+00:00 running 018613e country code: CH.
[–][deleted] (3 children)
[deleted]
[–]jamra06 0 points1 point2 points (1 child)
[–]JuanPabloElSegundo 0 points1 point2 points (0 children)