activate: function () { var that = this; if (this.images().length > 0) { return; } return http.jsonp(url, qs, 'jsoncallback').then(function (response) { that.images(response.items); }); }
jsonp(...params){ return http.jsonp(...params); }