routerProvider
routeProvider is a configuration object used in web development frameworks, particularly those employing client-side routing. Its primary function is to define the application's routing table, which maps specific URL paths to corresponding components or views. This allows for dynamic rendering of different content within a single-page application (SPA) without requiring a full page reload.
When a user navigates to a particular URL, the router service inspects the route definitions provided by
routeProvider typically accepts an array of route objects, each containing properties like 'path' (the URL pattern)
The use of routeProvider facilitates the separation of concerns, as routing logic is distinct from component