AngularJS and Amazon JavaScript SDK