Adding forgotten $scope.apply