Hi Brad - I agree, having a plunk or a fiddle of your code would be useful to see what's going on. That being said, I recommend using UI-bootstrap from angular-ui (which is a great and stable project for useful things like these - check it out here: http://angular-ui.github.io/bootstrap/).
Best, Rene On Friday, February 28, 2014 3:09:55 PM UTC-6, Brad Rice wrote: > I have a form with a bank of radio buttons that allows you to filter the > results of a list. I also setup a route that pulls a param from the > $routeParams that will filter the list. I want the radio button to reflect > what the routeParam is, but I can't figure out how to set the radio button > to checked based on that value. Can anyone push me in the right direction? > I'm not sure if I use ng-checked or ng-selected and also how you go about > setting those to true based on the value from inside the controller so the > form controls will update. > > -- > Brad Rice > [email protected] <javascript:> > -- > “Be curious. Read widely. Try new things. What people call intelligence > just boils down to curiosity.” > - Aaron Swartz > -- 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/groups/opt_out.
