Module routing issues


#1

I am trying to understand modules, but … every time new issue is popping up.

I created two modules - Home and Contacts. When I start the app, first one is bootstrapped (Home). There I have a button, which navigates to the second one - Contacts, and in Contacts, there is button that navigates to home and so on… After second navigation, I get the issue:

Error: Cannot match any routes. URL Segment: ‘Contacts/Home’

I didn`t understand how to navigate properly between modules.

Someone to help me?

Code in GitHub: https://github.com/AlbertVasilew/NativeScript-Angular-Modules-Routing