AngularJS based test application accepting JAX-RS service