Fixed $scope.$apply typo