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

40 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. 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
  23. 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
  24. 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
  25. This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post. Chip Eng Seng Singapore

    ReplyDelete
  26. I will really appreciate the writer's choice for choosing this excellent article appropriate to my matter.Here is deep description about the article matter which helped me more. Assertiveness Training

    ReplyDelete
  27. This does not mean that you should always opt for the cheapest property. I once saw a two bedroomed terraced property in Manchester on the market for about £12000.00. Forestry Mulching in Virginia

    ReplyDelete
  28. Awesome and interesting article. Great things you've always shared with us. Thanks. Just continue composing this kind of post. allegheny county mls

    ReplyDelete
  29. In our investment property model, let's use four tabs: property, financing, expenses and financials. Property, financing and expenses will be the tabs on which we input assumption and make projections for our model. The financials tab will be our results page where we will display the output of our model in a way that's easily understood.Dacor, Viking, Wolf, KitchenAid, Ovens Repair Near Me

    ReplyDelete
  30. promo codes for roblox if you are thinking about this then you shouldread this.

    ReplyDelete
  31. Keep in mind that potholes are far less likely in concrete. Commercial Paving Colorado Springs CO

    ReplyDelete
  32. Start with traditional bunk beds, then add a pull out trundle bed under the bottom bunk. It's a great way to create "sleep over" space, or introduce little sister to her new big girl bed. triple twin bunk bed

    ReplyDelete
  33. Off course don't even try to build the whole weekend around sight-seeing or museums; probably most of the stag group won't want to spend long hours doing that. budapest rental

    ReplyDelete
  34. Usually when children hit puberty they get moved out into their own room, and by this time the family has bought a bigger house or another room is freed up. But if you think that your children are going to be in that one room for a long amount of time then it is plausible that you'd want to make them as comfortable in there as possible. bed with slide

    ReplyDelete
  35. It is rather very good, nevertheless glance at the data with this handle. custom patches

    ReplyDelete
  36. i love reading this article so beautiful!!great job! muabannhadat binh duong

    ReplyDelete
  37. To enjoy the life on the road to fullest it must be just as cozy as life at home. And with the right truck bed mattress life can really be more enjoyable. cheap truck mattress

    ReplyDelete
  38. Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks bridging loan

    ReplyDelete

Blogroll

Popular Posts