ga-wdi-exercises / shaping-up-with-angular

0 stars 20 forks source link

Matt's intro to angular notes #94

Closed mattcfilbert closed 7 years ago

mattcfilbert commented 7 years ago

Module - Where we write pieces of our Angular app. Where we define dependencies for our app.

Controller - Where we define our app's behavior by defining functions and values.

Data Binding - The automatic synchronization of data between the model and view components. Lets you treat the model as the single-source-of-truth in your application.

Directive - A marker on an html tag to run or reference JS.

Angular Expression (i.e., {{ }}) - Allows you to write and deploy JS in HTML (kinda like squids for ruby). How you get values displayed on the page.

View Model - Separation of what the user sees from the "behind the scenes" mechanics. The view is a projection of the model at all times.