Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Multiple views in angular

I am using Angular 6. I need to load different components on switch. I tried with @ViewChild but it's not working in this scenario. Example: One listing component with some data(table) and there is one switch, on switch changed, I need to display different data (table)

Comments