Tutorial from http://ionicframework.com/ (scaffholded by their generator)