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

0 stars 20 forks source link

Jon Wright - Homework submission #63

Closed electricflannel closed 7 years ago

electricflannel commented 7 years ago

Module: Its where angular code is encapsulated. It allows code to be more maintainable, readable, and testable. Dependencies are also defined here.

Controller: Where the application's data and behavior are defined

Data Binding: Where the data in the view is bound to the expression. When the view data changes, the expressions check to see if there was a change and then reevaluates.

Directive: A marker in html that allows Angular to run or reference javascript code (Think the squid tags in ruby erb)

Angular Expression (i.e., {{ }}): Expression are what angular uses to insert data dynamically into HTML. (The ruby equivalent is #{} )

View Model: Is created using the ng-template tag. Using the Id attribute, ng-controller maps the view