AngularJS provides ng-model to bind values to input fields. Binding radio buttons to scope variables is tricky.


Here you can find HTML markup of Gender radio buttons. 
<input type="radio" ng-model="gender" value="male" name="gender"/> Male
<input type="radio" ng-model="gender" value="female" name="gender"/> Female


This is script to access radio input variables in scope controllers

function myCtrl($scope) {
    $scope.gender = 'male';


  1. Thanks for sharing.I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.

  2. Spot on with this write-up, I actually think this website needs far more attention. I’ll probably be back again to read more, thanks for the info!

    Veterans Day Images
    Thank You Veterans Day Images
    Veterans Day Wallpaper
    Happy Veterans Day Images
    Thank You Veterans Day HD images

  3. Best Web design and development company in Brampton
    A team of experience and energetic professionals expertise in all sort of web designing, web development, e-commerce and SEO marketing services.

  4. Chauffeur cab service in Melbourne
    Silver Executive Cab is becoming the first choice of the people. It is only because of the best quality chauffeur cars & limos Melbourne. Our own VHA Chauffeur Cars & Limos network Melbourne.

  5. Mortgage Broker in Gta Toronto
    We work with Canada's premium financial institutions to offer you the best mortgages in the market and the lowest interest rates. Names such as Royal Bank, Scotia Bank, Bank of Montreal, TD Canada Trust, CIBC, National Bank, and more, guarantee the best service and highest savings for you.

  6. Best Real Estate Realtor in Toronto
    Many of you now need in home but you might be thinking where to spend because your home is your largest investment because generally home cost approx 500k Dollar and home is the place where you have to spend almost half of your life in the home so to choose right home for you we are here best real estate in Toronto.

  7. Best Place For visit in India
    You are our priority. Our dedicated and trained team of customer care executives resolves all your queries and matters swiftly so that you can have delightful experience.

  8. Travel Tours in India
    Within a short span of its existence LITEWINGS Travels, has emerged as a name to reckon with in the business of Inbound/outbound Tourism. We have adapted our operations to the fast-paced cyber world and bring you India, online. Now you have access to a wealth of information at your desktop just a click away

  9. nice information thank you for give us this helpful information. i found latest offer in hosting company hostinger coupon code you cant believe hostinger giving use a 90% off on hosting yes its true check it your self

  10. Thank you for sharing such a nice post

  11. Amazing article that it gave me alot of information and nice template as well.
    Visit our website for Ahmad faraz poetry in urdu Thanks

  12. Love to read more from your side

  13. thanks for sharing information awesome blog post click here

  14. Thanks For Sharing great info with us
    [url=]best status[/url]
    [url=]Best Friend Status 2020[/url]
    [url=]Love Attitude Status 2020[/url]
    [url=]Hurt Status for Whatsapp[/url]
    [url=]Alone Status for Whatsapp[/url]
    [url=]Status for Whatsapp[/url]

  15. I have issue in my website, it doesn't want to work website link

  16. Great Article. This Blog Contain Good information about that. Thanks for sharing this blog. Can you please do more articles like this blog. Support us
      Asphalt 9 Mod apk

    Stickman Legends mod

    ES file Explorer




Follow this blog by Email

Popular Posts