NG.V · Angular 22 practice question
A developer defines a route with `path: 'blog'`. Why is this considered a static URL path?
Check answer and explanation
Correct answer: Because it uses a predefined path that does not vary with dynamic parameters.
Explanation
A static URL path is defined by having a predefined path string that does not change based on dynamic parameters.
Common trap
Static URL paths work with standard client-side Angular components, not only pre-rendered files. They are fully navigable with `RouterLink`.
Source: Angular docs: Define routes — Static URL Paths
Checked against the cited text on 2026-11-27.