fixed the Foursquare AngularJs