AngularJS + AWS JavaScript SDK