How to Prevent Direct URL Access?

It’s about “guards” in angular ?