[ DAY 125 ] Angular Diary

What I learned: I might be terrible with http and server and things alike but I LOVE IT when it comes to routing and paths and how to apply this to angular. I just like organizing my sites with my logic.

What didn’t go well: ActivatedRoute didn’t work so I updated my npm and angular, just to see if that was the case. And then boom! path to npm is invalid and ‘ng’ is not a command. I restarted my laptop and npm was fine. I just needed to installed @angular/cli again.

To-do: fix bug when running route.snapshot.paramMap.get(). I’m sorry this might seem random but I want to be specific even out of context… I checked the docs and it seemed like nothing was wrong, but my command line said “Object might be ‘null’” Ugh!

Published by Thi Le


Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: