Its example code for storing data in sqlite db after pass view with two pages. Also I already added cordova printer plugin. This source code suitable for beginner in ionic/angular specialist.
To run this repository on your favorite browser with enter "ionic serve" on your command prompt. For more info: http://ionicframework.com/getting-started/
Happy Coding!