I'm using Ionic 3 and I have a question.
Is it possible for 2 pages of html to use the same 'component.ts'?
For example, if I have 2 pages: 1st page show all users, 2nd page show user's detail and 1 component UserPage.
For Ionic 1, I can use one controller in multiple pages of html but in Ionic 3 I don't know if it's possible. If it possible, how can I call the page html on click? For example with the component we do like this:
this.navCtrl.setRoot(TabsPage);
And for practice, is it better to use it this way or to use the normal way ( ionic g page XXX that generates all??) Thanks in advance.