angularjs/ionic test application