AngularJS / Ionic mobile application