AngularJS supports .prop() jQuery functionality. Here in below examples we can see how to set and remove property  of an element.

Steps to read attribute value of an element :

  1. Get angular element of html element
  2. Use .prop('property name') method to read the property value
var myEl = angular.element( document.querySelector( '#inputID' ) );
alert(myEl.prop('checked'));

Steps to set attribute value of an element :

  1. Get angular element
  2. Use .prop('property name', 'property value') method to set the property value
var myEl = angular.element( document.querySelector( '#inputID' ) );
myEl.prop('checked',true);

27 comments:


  1. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post.
    real estate agencies

    ReplyDelete
  2. To the question to ask here is the nature of these services and amenities and whether they are well maintained.Visit This Link

    ReplyDelete
  3. This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It is the old what goes around comes around routine. types of property insurance

    ReplyDelete
  4. That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more. MyLife

    ReplyDelete
  5. Thank you so much for the post you do. I like your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. Insurance Wooster

    ReplyDelete
  6. I read that Post and got it fine and informative. Please share more like that... Bukit 828 Condo

    ReplyDelete
  7. Thanks for this great post, i find it very interesting and very well thought out and put together. I look forward to reading your work in the future. The Hyde Condo Woh Hup

    ReplyDelete
  8. Your website is really cool and this is a great inspiring article. Mayfair Modern Condo

    ReplyDelete
  9. The coding are great. Will come back for more

    Mayfair Modern

    ReplyDelete
  10. Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. https://www.valsqld.com.au/

    ReplyDelete
  11. Persons appreciate shopping for amazing, appealing, fascinating and from time to time attractive aromas for them selves and pertaining to others. This can be executed conveniently along with inexpensively in an on-line perfume shop. Rental Properties at Core City Centre

    ReplyDelete
  12. Be careful here though in that some retail and other property legislation can prevent the use or implementation of the 'ratchet clause'. If in doubt see a good property solicitor.real estate practice test

    ReplyDelete
  13. I read that Post and got it fine and informative. Please share more like that... compare auto insurance companies

    ReplyDelete
  14. Find top realtors in your city or town that go the extra mile and advertise in all the top spots. Our Real Estate Brokers use an inside platform to connect buyers and sellers through Agents in our system. We have lists of developers, builders. And do lan assembly packages to get the best value for your home or property. When only the finest Realtor will do to work with your most valuable asset then look no further than our hand picked Real Estate Brokers list. If you want more info click here link : Real estate Broker Vancouver

    ReplyDelete
  15. This article is an engaging abundance of enlightening information that is intriguing and elegantly composed. I praise your diligent work on this and thank you for this data. You have what it takes to get consideration.  Gutter Repair Raleigh NC

    ReplyDelete
  16. Very interesting blog. A lot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definitely interested in this one. Just thought that I would post and let you know Find out more

    ReplyDelete
  17. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.. villa for sale marbella golden mile

    ReplyDelete
  18. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work Pick the Right Contractor

    ReplyDelete
  19. Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. gutter repair raleigh

    ReplyDelete
  20. I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers. Residential Gutter systems

    ReplyDelete
  21. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more home cleaning new york Gutter Blog

    ReplyDelete
  22. คาสิโนออนไลน์ที่น่าเชื่อถือและมีความเป็นมืออาชีพที่สุดในตอนนี้
    โปรโมชั่นGclub ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
    เพียงแค่คุณสมัคร สล็อตออนไลน์ กับทางทีมงานของเราเพียงเท่านั้น
    ร่วมมาเป็นส่วนหนึ่งกับเว็บไซต์คาสิโนออนไลน์ของเราได้เลยค่ะ
    สมัครสล็อตออนไลน์ >>> Goldenslot
    สนใจร่วมสนุกกับ คาสิโนออนไลน์ คลิ๊กได้เลย
    มีทั้งคาสิโนออนไลน์ หวยออนไลน์ ฟุตบอลออนไลน์ สล็อตออนไลน์ และอื่นๆอีกมากมาย

    ReplyDelete
  23. Wonderful article, thanks for putting this together! This is obviously one great post. Thanks for the valuable information and insights you have so provided here. Seamless gutters

    ReplyDelete
  24. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. Profitable for Enbloc Owners

    ReplyDelete
  25. Importantly, rental guarantee and bonds must be legally collectable by the new property owner under the terms of any existing lease documentation.foreclosed homes for sale in ocala fl

    ReplyDelete

Blogroll

Follow this blog by Email

Popular Posts