You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57-1Lines changed: 57 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ yarn add angular-routing
26
26
27
27
## Installation with ng add
28
28
29
-
You can use ng add to install the package by using below command.
29
+
You can use ng add to install the package by using the command below.
30
30
31
31
```sh
32
32
ng add angular-routing
@@ -85,6 +85,62 @@ After your components are registered, use the `Router` and `Route` components to
85
85
</router>
86
86
```
87
87
88
+
## Route sorting
89
+
90
+
Angular routing is sorting the routes upon registration, based on priority. The order in which the routes are defined in your template is therefore not important.
91
+
92
+
The following two examples will give the same results
0 commit comments