mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-22 19:23:38 +08:00
Update latest docs content from gdocs
This commit is contained in:
@@ -42,7 +42,7 @@ function PhoneDetailCtrl($xhr) {
|
||||
|
||||
$xhr('GET', 'phones/' + self.params.phoneId + '.json', function(code, response) {
|
||||
self.phone = response;
|
||||
self.mainImageUrl = response.images;
|
||||
self.mainImageUrl = response.images[0];
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user