Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b832f65

Browse files
More questions added
1 parent 9a4b7ea commit b832f65

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,20 @@ PA: Using the transition and animate function in an animations block like so: `a
1313
**How do you define a wildcare state?**
1414
A: Using the asterisk - example: `transition('* => active'), animate('100ms ease-in'))`
1515

16+
## Template Syntax Questions
17+
**What is a template reference variable, and how would you use it?**
18+
A: A variable (defined using a #) in a component template, which can be referenced in other parts of the template. For example, a template variable for a form can then be referenced by other elements of the form.
19+
20+
**What are the possible ways to bind component properties to an associated template?**
21+
A: interpolation binding, one way binding, two way binding.
22+
23+
## Component/Directive Questions
24+
**What is the minimum definition of a component?**
25+
A: A class with a Component decorator specifying a template.
26+
27+
**What is the difference between a component and a template?**
28+
A: A component is a directive with a template (representing a view).
29+
30+
**What are different kinds of directives supported in Angular 2?**
31+
A: Structural, directive, component, and attribute directives.
1632

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /