Module: A js file that contains one logical role in a project; such as controller, directive, or service. A "main" module is used to load all project modules into an application.
Controller: An object containing methods and variables to be used in the application. It is added to the view using the ng-controller directive.
Data Binding: A way to sync the model to the view and display properties in a js object from inside an html element. This can be done with the ng-bind, ng-model attributes, or {{ }}. The view will automatically change as the model changes, and visa versa.
Directive: Angular specific attributes for HTML elements (i.e ng-app, ng-controller, ng-repeat) that add functionality to an app. You can also define your own custom directives, which can be either attributes or elements. Custom directives are useful for repetitive elements like headers, or when you need to define new functionality you may use often.
Angular Expression (i.e., {{ }}): This is Angular's form of interpolation/data binding.
View Model: In Angular, the view is what the user sees (the DOM) and the model is the data in the view that user interacts with in some way.
Module: A js file that contains one logical role in a project; such as controller, directive, or service. A "main" module is used to load all project modules into an application.
Controller: An object containing methods and variables to be used in the application. It is added to the view using the
ng-controller
directive.Data Binding: A way to sync the model to the view and display properties in a js object from inside an html element. This can be done with the
ng-bind
,ng-model
attributes, or{{ }}
. The view will automatically change as the model changes, and visa versa.Directive: Angular specific attributes for HTML elements (i.e
ng-app
,ng-controller
,ng-repeat
) that add functionality to an app. You can also define your own custom directives, which can be either attributes or elements. Custom directives are useful for repetitive elements like headers, or when you need to define new functionality you may use often.Angular Expression (i.e., {{ }}): This is Angular's form of interpolation/data binding.
View Model: In Angular, the view is what the user sees (the DOM) and the model is the data in the view that user interacts with in some way.