AngualarJS Terms

rudyryu's version from 2016-11-05 19:22


Question Answer
AngualarJS Directive Teach HTML new tricks! They are markers on a DOM element that tell AngularJS' HTML compiler ($compile) to attach a specified behavior to that DOM element.
DOM-Driven DirectiveA directive category that is all about DOM manipulation
Data-Driven DirectiveA directive category that is all about data, using other directives and a controller
Behavior-Driven DirectiveA directive category that all about handling DOM events
ATTRIBUTE directive type<span my-dir="exp">
ELEMENT directive type<my-dir></my-dir>
CLASS directive type<span class="my-dir">
COMMENT directive type<!-- directive: my-dir exp -->
DDODirective Definition Object ~ Part of a $complie provider; an object-literal that tells the $compile provider what it needs
$compile providerComplies and HTML string or DOM into a template and produces a template function, which can the be used to link scope and the template together
$interpolateTo converted into something useful
transclusionInclusion of a document or part of a document into another document by reference.
jqLiteA tiny, API-compatible subset of jQuery that allows Angular to manipulate the DOM; The "Middle Man" between DOM and directive.
shared scopeTrickles down from parent-scope
MV*Model - view - Whatever; the AngualrJS framework
Dependency InjectionGiving a function an object; rather than creating an object inside a functon, you pass it to the function.
MinificationShrinking the size of files for faster download.
InterpolationCreating a string by combining strings and placeholders; combining strings and variables.
DirectiveAn instruction to AngularJS to manipulate a piece of the DOM.
NormalizeTo make a consistent to a standard
CompileWhen building code, the compiler converts code to a lower-level language.
LinkWhen building code, the linker generates a file the computer will actually interact with.
TranspileConverting source code of one programming language into another
AtScriptJavaScript-based scripting language extending Microsoft's Typescript and transcompiling to JavaScript.

Recent badges