ng-repeat

 

<DOCTYPE html>
<html>
    <head>
        <meta CHARSET="UTF-8">
        <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
    </head>
    <body ng-app="myApp" ng-controller="myCtrl">
        <h2>ng-repeat</h2>
        <fieldset>
            <legend>
                List
            </legend>
            <div ng-init='name = ["Shailesh", "Mahesh", "Shilpa"]'>
                <ul>
                    <li ng-repeat="x in name">{{x}}</li>
                </ul>
            </div>
        </fieldset>
        <fieldset>
            <legend>
                Table
            </legend>
            <div ng-init='months = ["Jan", "Feb", "Mar"]'>
                <table border="1">
                    <tr ng-repeat="x in months">
                        <td>{{x}}</td>
                    </tr>
                </table>
            </div>
        </fieldset>
        <fieldset>
            <legend>
                Select
            </legend>
            <div ng-init='cities = [{"id":"1", "value":"Mumbai"}, {"id":"2", "value":"Pune"}, {"id":"3", "value":"Nagpur"}]'>
                <select>
                    <option ng-repeat="x in cities" value="{{x.id}}">{{x.value}}</option>
                </select>
            </div>
        </fieldset>
    </body>
    <script>
                var app = angular.module("myApp", []);
                app.controller("myCtrl", function($scope) {

                });
    </script>
</html>

 

 

46 Replies to “ng-repeat”

  1. I would like to thank you for the efforts you have put in writing this website. I am hoping to see the same high-grade blog posts from you later on as well. In fact, your creative writing abilities has inspired me to get my own, personal site now 😉

  2. It’s in fact very difficult in this full of activity life to listen news on TV, so I simply use web for that purpose, and obtain the most recent news.

  3. I don’t even know how I ended up here, but I thought this post was good. I do not know who you are but definitely you’re going to a famous blogger if you are not already 😉 Cheers!

  4. Thanks , I have just been searching for information about this topic for a long time and yours is the greatest I have found out so far. However, what about the conclusion? Are you sure about the supply?

  5. I like the helpful information you provide in your articles. I will bookmark your weblog and check again here frequently. I’m quite certain I will learn lots of new stuff right here! Best of luck for the next!

  6. Wow, fantastic weblog layout! How lengthy have you been blogging for? you made running a blog look easy. The whole look of your site is fantastic, let alone the content material

  7. For those seeking an exceptional online gaming experience, us.com](https://maxispin.us.com/) stands out as a premier destination. At Maxispin Casino, players can enjoy a vast array of pokies, table games, and other thrilling options, all accessible in both demo and real-money modes. The casino offers attractive bonuses, including free spins and a generous welcome offer, along with cashback promotions and engaging tournaments. To ensure a seamless experience, Maxispin provides various payment methods, efficient withdrawal processes, and reliable customer support through live chat. Security is a top priority, with robust safety measures and a strong focus on responsible gambling tools. Players can easily navigate the site, with detailed guides on account creation, verification, and payment methods. Whether you’re interested in high RTP slots, hold and win pokies, or the latest slot releases, Maxispin Casino delivers a user-friendly and secure platform. Explore their terms and conditions, read reviews, and discover why many consider Maxispin a legitimate and trustworthy choice in Australia.
    Regardless of whether you’re an experienced copywriter or a newcomer, MaxiSpin.us.com offers the resources necessary to improve your content.

    **Features of MaxiSpin.us.com**
    The platform also features a built-in editor, allowing users to make immediate adjustments for the best outcomes.

    **Benefits of Using MaxiSpin.us.com**
    By saving time and resources, companies can redirect their focus to other essential aspects of their business.

  8. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks a lot!

  9. Hello! I could have sworn I’ve visited this website before but after looking at a few of the posts I realized it’s new to me. Anyhow, I’m certainly happy I came across it and I’ll be book-marking it and checking back frequently!

  10. Thank you a bunch for sharing this with all people you really recognise what you are speaking about! Bookmarked. Kindly also visit my website =). We may have a link change arrangement between us

  11. Greetings from Ohio! I’m bored to death at work so I decided to check out your website on my iphone during lunch break. I really like the info you provide here and can’t wait to take a look when I get home. I’m surprised at how fast your blog loaded on my cell phone .. I’m not even using WIFI, just 3G .. Anyhow, amazing blog!

  12. I was wondering if you ever considered changing the structure of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or 2 images. Maybe you could space it out better?

  13. I am extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you customize it yourself? Anyway keep up the excellent quality writing, it is rare to see a nice blog like this one nowadays.

  14. all the time i used to read smaller content which also clear their motive, and that is also happening with this post which I am reading at this time.

  15. Hello it’s me, I am also visiting this web page daily, this website is actually fastidious and the users are truly sharing nice thoughts.

  16. Hi, for all time i used to check website posts here in the early hours in the daylight, for the reason that i enjoy to learn more and more.

  17. Hello there, I do believe your site might be having web browser compatibility problems. When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping issues. I simply wanted to give you a quick heads up! Apart from that, fantastic site!

  18. I feel this is one of the such a lot important info for me. And i am glad studying your article. However wanna statement on some general things, The web site style is perfect, the articles is in reality great : D. Good job, cheers

  19. Good day! I could have sworn I’ve been to this site before but after checking through some of the post I realized it’s new to me. Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

  20. Everything is very open with a very clear explanation of the challenges. It was really informative. Your website is very helpful. Thank you for sharing!

  21. I’ve been surfing on-line more than three hours as of late, but I by no means discovered any interesting article like yours. It is pretty price sufficient for me. Personally, if all web owners and bloggers made good content as you did, the net might be a lot more useful than ever before.

  22. Hello there! I could have sworn I’ve been to this website before but after checking through some of the post I realized it’s new to me. Anyways, I’m definitely delighted I found it and I’ll be book-marking and checking back often!

  23. Wow, wonderful weblog layout! How long have you ever been running a blog for? you make blogging look easy. The entire glance of your site is excellent, as neatly as the content

  24. Link exchange is nothing else but it is just placing the other person’s web site link on your page at appropriate place and other person will also do similar in support of you.

  25. I’m no longer certain where you are getting your information, but great topic. I needs to spend some time learning more or understanding more. Thanks for fantastic info I was on the lookout for this information for my mission.

  26. Asking questions are truly good thing if you are not understanding anything totally, except this piece of writing provides pleasant understanding even.

  27. I’m not sure exactly why but this blog is loading very slow for me. Is anyone else having this issue or is it a problem on my end? I’ll check back later and see if the problem still exists.

  28. My brother suggested I would possibly like this web site. He was entirely right. This post truly made my day. You can not believe simply how so much time I had spent for this info! Thank you!

  29. Hey there, I think your site might be having browser compatibility issues. When I look at your website in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, superb blog!

  30. Helpful information. Fortunate me I discovered your site by accident, and I am shocked why this twist of fate didn’t came about earlier! I bookmarked it.

Leave a Reply to betvisa Cancel reply

Your email address will not be published.