based off angular/webapi foursquare tutorial