building the SAP for FoursquareAngularJs