refactored specialty app API to use  rather than ngResource: