diff --git a/app/scripts/controllers/restaurant.js b/app/scripts/controllers/restaurant.js index b1afce9..24b48b2 100644 --- a/app/scripts/controllers/restaurant.js +++ b/app/scripts/controllers/restaurant.js @@ -9,6 +9,13 @@ angular.module('restaurantsApp') $scope.restaurant = data; }); + $scope.slickOnInit = function() { + $scope.refreshing = true; + $scope.$apply(); + $scope.refreshing = false; + $scope.$apply(); + }; + $scope.breakpoints = [{ breakpoint: 1024, settings: { diff --git a/app/views/restaurant.html b/app/views/restaurant.html index eca1943..f544a21 100644 --- a/app/views/restaurant.html +++ b/app/views/restaurant.html @@ -46,9 +46,9 @@