I recently started working on Angular (Angular5). My application has tabs named Home, School, Office and I have two types of users Admin and non-admin. As soon as the Office tab is clicked Admin page will be redirected to Admin page and non-admin user will be redirected to non-admin page.
So, for this requirement do I need to make two different modules? OR shall I make a single module and redirect on the bases of user types? Please guide me with the project structure.
Yes, you need to 2 different modules as they are both a separate feature and Lazy Load them on your parent route (e.g AppRouting or others). Supposedly, on your Admin it has features that the Non-Admin doesn't have and they both have different roles in your application. So you should separate them based on their feature.
For your case, your feature modules are your /admin and /non-admin (or any terms you used on your directory). Under those are its components, services, routing and ngModule.