From ddd46a2b255891643db7cee3e44c2d412dd18afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gonz=C3=A1lez?= Date: Sat, 22 Aug 2015 21:55:55 -0400 Subject: [PATCH] fixes refresh bug on artists --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index 62255d0..89ba807 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -106,7 +106,7 @@ angular.module('starter', ['ionic']) $scope.doRefresh =function() { $http.get('js/data.json').success(function(data) { - $scope.artists = data; + $scope.artists = data.artists; $scope.$broadcast('scroll.refreshComplete'); }); }