Hi All,

I have worked one timer function after timer finish some dive will show and 
some will hide I used ng-hide and ng-show. The code I used in controller :

$scope.timerEnd = false;
$scope.$on("time_finish", function(event, message){   
    $scope.timerEnd = true;   
});

The code I used in directives 

if(seconds_left<=0){ 
scope.$emit('time_finish'); 
clearInterval(timestatus);
 }

The problem is after the event complete unable to get the value in view. 
Can anybody please suggest me how to overcome this? Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to