Cordova, Ionic, AngularJS implementation