AngularJS Tutorial #4 - 2-Way Data Binding

preview_player
Показать описание
Yo dudes, in this AngularJS tutorial, I'll introduce you to the concept of two-way data binding and models. This is one of the really cool things about AngularJS - it easily allows us to store data in a model, which can be passed between a view and a controller really easily.

If you update the view, the model changes. And if you update the model, the view changes - 2-way data binding!

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

----- 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 ==========

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

Wow, none of the tutorials I tried online explained MVC. such a simple way of looking at this, but it helps a lot

stayflyxx
Автор

I finally got the answer of using angular js, , , Never been able to have a pleasant response from anyone... Thanks lot

muddassirahmed
Автор

You're the best net ninja on this entire earth!
Probably mars too. because people there don't have internet.

HassaanQ
Автор

Your fav meat is: {{favMeat}}. But the server output is Your fav meat is: {{favMeat}}. And by the way i use mac. So please suggest.
And your tutorials are great .

abhinavvisen
Автор

Hey ! First of all, your videos are great. Really enjoying them.
One Question - Why do we need a server to run AngularJS ?

SarthakAgarwalClientNo
Автор

your videos are awesome..best ever..Can you please tell what is the shortcut to get end html tag automatically?

shitalgupta
Автор

Good videos, great content. Music at beginning and end is very loud. Really, very loud.

bikrams
Автор

You can use webpack-dev-server instead :D

thevladsirotkin
Автор

ng attributes are not recognised in my Atom. Everytime when I have to type ng-(something) i need to type the whole thing. Can you give me a solution to this??

davidbrite
Автор

My code is exactly the same, yet nothing is being displayed on the server. It's just blank

ateebraza
Автор

hi, i have tried this tutorial and the part where {{favMeat}} is supposed to output the value in text box isn't really working. The local server output is - Your fav meat is: {{favMeat}} instead of say Your fav meat is: beef. Can you please advise?

jobcollins
Автор

I like the way you explain things, but as a vegetarian, I hate the example with meat :(

jeczybula
Автор

If i give a name to ng-app, my ng-model doesn't work and if i remove it, it works. why is that?

<html lang="en" ng-app="myapp">
<head>
<title>TheNetNinja Angular Playlist</title>

</script>
</head>

<body >

<input type="text" ng-model="name" placeholder="enter your name"/>
<p > your name is {{name}}</p>
</body>
</html>

vickyve
Автор

I see so this is why they hate react ahaha. Google did it again

jerickcarlosmangalus