Yes, this is great Augustas. Thank you so much.
So do you mind explaining what I was doing wrong?
I notice that the need for ng-model and value/ng-model was not needed at
all?
When I was looking at the basic Angular radio button example, (
https://docs.angularjs.org/api/ng/input/input%5Bradio%5D) they used both.


On Wed, Mar 9, 2016 at 12:48 AM, Augustas Grikšas <[email protected]> wrote:

> Try this one, https://plnkr.co/
> <https://plnkr.co/edit/k9WDZ901ofoUb66IgiX4> is this what you want?
>
> 2016 m. kovas 9 d., trečiadienis 05:39:22 UTC+2, Uri Grinwald rašė:
>>
>> Pretty new to Angular and have spent a couple of days with no luck.
>>
>> I am binding a radio group of buttons to an object with key/value pairs.
>> The data changes properly when I select radio buttons, but the actual
>> radio button itself does not change to 'selected' until a second click?
>> When I tried to change the ng-click to ng-change I get the reverse affect
>> of the selection changing but not the data. I am using ng-value vs value in
>> the html as I am dealing with object vs strings.
>> Here is an example plunk
>> <https://plnkr.co/edit/Hupl1T1OefgXfUxpxoN5?p=preview>
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/Gl2xHPQ_mQA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to