Plunker: http://plnkr.co/edit/gH8hkjmC8BsslZFDuE3c

What I have is a couple radio buttons in an ng-if wrapped form.  Problem is
that if I access the value via the injected $scope in my click/change
handlers, I always get the same value (true).

However, if I use 'this' instead of '$scope' to access 'value' it works.

See onValueChange and onClick from plunker.  Is this expected or am I doing
something wrong?

  --m

-- 
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