Skip to content

Commit

Permalink
Merge pull request #1 from Sandyah06/patch-1
Browse files Browse the repository at this point in the history
Added the details of What is Angular Routing  And How to Use it
  • Loading branch information
ShambhaviVijay authored Mar 23, 2023
2 parents aabecdf + 56a4159 commit 0901a0e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions learning/dashboard/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
**What is Angular Routing**

In a single-page app, you change what the user sees by showing or hiding portions of the display that correspond to particular components, rather than going out to the server to get a new page. As users perform application tasks, they need to move between the different views that you have defined.

To handle the navigation from one view to the next, you use the Angular Router. The Router enables navigation by interpreting a browser URL as an instruction to change the view.

To explore a sample app featuring the router's primary features, see the example below
router.zip file with the reference link.

Reference Link : https://angular.io/guide/routing-overview


**How to Use Angular Routes**

Using Angular routes in a single-page application
It describes how to build a single-page application, SPA that uses multiple Angular routes.

In a Single Page Application (SPA), all of your application's functions exist in a single HTML page. As users access your application's features, the browser needs to render only the parts that matter to the user, instead of loading a new page. This pattern can significantly improve your application's user experience.

To define how users navigate through your application, you use routes. Add routes to define how users navigate from one part of your application to another. You can also configure routes to guard against unexpected or unauthorized behavior.

To explore a sample application featuring the contents of this tutorial, see the example with this link
https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.html

Reference link : https://angular.io/guide/router-tutorial

**Installation**

To install Angular using CLI write this line on your terminal,
npm install -g @angular/cli

Expand Down

0 comments on commit 0901a0e

Please sign in to comment.