Play by Play is a series in which top technologists work through a problem in real time, unrehearsed and unscripted. In this course, Play by Play: Sharing Code with npm Modules Between Angular Web and Ionic Mobile Apps, Duncan Hunter and Lars Klint demonstrate what code you can share between your Angular mobile and webs apps. Learn how to separate out the common code from your angular services and state management into custom npm modules, discover helpful tools and strategies for making npm packages, and how to share your finished npm modules. By the end of this course, you’ll have the fundamental concepts to make custom npm modules and share code effectively between Ionic and Angular apps.
Lars is an author, trainer, Microsoft MVP, community leader, authority on
all things Windows Platform, and part time crocodile wrangler. He is heavily
involved in the space of HoloLens and mixed reality, as well as a published
Pluralsight author, freelance solution architect, and writer for numerous
Why Use Ionic and Angular? Hi, I'm Lars Klint, I'm here with Duncan Hunter again, and today we're going to try and kind of get our head around if you have a mobile app, and you have a web app, and you're building the same product on both, and what happens normally is that you start building two different things, two different projects, how do you share some, all, or whatever it might be of your code base between these two projects, between a native app and a mobile app? Is that we're--- That's exactly what we're going to do. It's going to be a lot of fun, there's lots of good bits. I'm all new to this, just like you guys probably are, so I'm pretty keen to hear what Duncan has to say, and let's get into it.