Terms Flashcards
Directives
extends HTML with custom attributes and elements
Model
The data shown to the user in the view and with which the user interacts
Scope
Context where the model is stored so that controllers, directives and expressions can access it
Expressions
Access variables and functions from the scope
Compiler
Parses the template and instantiates directives and expressions.
An angular service which traverses the Dom looking for attributes, a process that happens in two steps:
- Compile: traverse Dom and collect all of the directives.
- Link: combine the directives with a scope and produce a live view.
Filter
Formats the value of an expression for display to the user
View
What the user sees
Data binding
Sync data between the model and the view
Controller
The business logic behind the view
Dependency injection
Creates and wires objects and functions
Injector
Dependency injection container
Module
A container for the different parts of an app including controllers, services, filters, directives which configures the injector
Service
Reusable business logic for the views
Template
HTML with additional markup