adding json api and angular api call test