# Routing

Afin de **permettre aux utilisateurs de garder leurs habitudes de navigation** en visitant une Single Page Application ou une Progressive Web Application, il est nécessaire d'utiliser un système de "Routing".

Grâce au système de "Routing", les utilisateurs peuvent :

* utiliser l'historique de leur navigateur *(e.g. les boutons back et next),*
* partager des liens,
* ajouter une vue à leurs favoris,
* ouvrir une vue dans une nouvelle fenêtre via le menu contextuel,
* ...

Angular fournit **nativement un module de "Routing"** pour répondre à ce besoin.

{% content-ref url="/pages/-LDCDTupyZPKQGQbrkF7" %}
[Mise en Place du Routing](/angular/routing/mise-en-place-du-routing.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LDCDtBNc8B2c1IC6SaZ" %}
[Lazy Loading](/angular/routing/lazy-loading.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LDCEOEFfBiguAyKHqLl" %}
[Route Guards](/angular/routing/route-guards.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide-angular.wishtack.io/angular/routing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
