Access jersey resource from angular