Share code between web-app (Angular2) and mobile app (Ionic 2)
<p>I'm new to these technologies so forgive me if some of my questions don't make sense!</p>

<p>I have to develop both a web app and a mobile app for my company. I was thinking about Ionic 2 since it uses Angular 2, and I would like to share code between the web-app I'll build with angular 2 and the mobile app with Ionic 2 since they'll do almost the same things. </p>

<p>How should I do that? I'd like to keep the logic of the application the same, and I would just modify something about the UI. 
Thank you!</p>