This code is part of a tutorial on how to build a mobile app with Ionic 2 & Angular 2.
Read the tutorial here: Build Your First Mobile App With Ionic 2 & Angular 2
For more tutorials on Ionic, check out my blog Gone Hybrid.
After cloning the repo, run npm install followed by the ionic serve command.
Make sure you have all the tools installed, see installation guide.