AngularJS lesson 2 - Expressions within HTML tags, ng-model directive, JSON objects

in #utopian-io8 years ago (edited)

What Will I Learn?

  • You will learn to experiment with using AngularJS expressions within HTML tags and inline CSS.
  • You will learn to use the ng-model directive to bind the value of HTML controls (e.g. the input tag) to an AngularJS application variable.
  • You will learn to use the first two points above to change the style of an HTML element (e.g. the background color of a paragraph) instantly by typing the color in an input box.
  • You will learn to create and display a JSON variable.

Requirements

  • I am using Microsoft Visual Studio 2017 Community Edition (has IntelliSense for AngularJS and allows you to test the application using a local web server) running under Windows 10. Download Visual Studio here: https://www.visualstudio.com/downloads/
  • You can still follow the tutorial with another text editor but you will need to find another way to test your application on a web server.

Difficulty

Intermediate
You should already be familliar with HTML, CSS and Javascript, otherwise you may find these tutorials difficult.

Description

In this series of tutorials you will learn how to make a dynamic Single Page Application (SPA) with AngularJS. This means that the user will not be loading entire new pages on the server. Instead, appropriate resources are dynamically loaded onto the page as necessary in response to user actions.

Video Tutorial

Sort:  

Hey @magicmonk I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you so much :)

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you so much!

Coin Marketplace

STEEM 0.05
TRX 0.33
JST 0.079
BTC 63953.57
ETH 1690.68
USDT 1.00
SBD 0.42