Issue with Angular 6 route and Open vidu

I am new for angular. I have to integrate openvidu with angular. I am using package to do so. i am facing following problems.

  1. After integration open vidu works with site root. URL (
  2. i have created component and want to integrate same component inside custom component but it does not work. (
  3. It shows lazy load console error

Code example setup is available on

I just want when i open URL it should ask user and session and when i click on button it should show video chat window.