AngularJS Tutorial #7 - ng-repeat directive

preview_player
Показать описание
Hey gang, in this AngularJS tutorial, I'll be showing you a cool little directive called ng-repeat. Ng-repeat lets us cycle through our data, and output the data using a series of HTML elements.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage...

========== JavaScript for Beginners Playlist ==========

============ CSS for Beginners Playlist =============

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

Dude do a series on WordPress development. Theme and Plugin. You're a champion.

HassaanQ
Автор

Try it yourself..Angular is awesome
<body ng-init="str=['red', 'orange', 'blue']">
<p style='color:{{colors}}' ng-repeat="colors in str">Hello everyone!</p>
</body>

charan
Автор

Super cool. Please make tutorial about hybrid app development

husainahmmed
Автор

Love your tutorials Net Ninja...
which documentation should i follow for more info ??? w3schools or angular official ???
angular official seems little bit complex..

bimalgrg
Автор

Where'd the ninja elements get their class bindings after going through ng-repeat?

tylerbray
Автор

Could you make the input box, so that when you typed in a name there, it would update the array in the html page and output to the view? Could you show how to do that?I'm really liking your tutorials! Thumbs up!!

adaniels
Автор

Your vlogs are amazing, have been tryin to get my head around AJS codecademy course didn't make much sense. Plz upload tuts for php, swift, java n python. Best wishes.

alienoid
Автор

Why is it better to write the items of a list in an array and then loop through it and display it with ng-repeat than just write the items one by one between li tags using only HTML?

illestothvisualz
Автор

When you have the same string in an array twice and you use the ng-repeat, nothing outputs. Why?

wildevine
Автор

I really, really hate how AngularJS works with the comments during ng-repeat and especially with ng-if. Feels inefficent and insecure to post information about variable names and how the logic is built..

PasterNoster