Architecture Flashcards

1
Q

Manager for templates

A

component

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Logic of the application.

A

service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

boxes services and components

A

module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Decorators

A

functions that modify a javascript class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Module decorator in Angular

A

@NgModule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where put view classes for a module

A

declarations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where a modules’ subset of declarations should go to be visible to other modules go?

A

exports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where a module places other modules to get the declaration classes from it.

A

imports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where a modules’ created services go to contributes to the global collection of services

A

providers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The one time use location for all modules to provide a main application view component that hosts all other views

A

bootstrap

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Component decorator in Angular

A

@Component

Neat fact: This is a directive!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where to declare the tag name for a component to use in other templates.

A

selector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where to declare the url to a component template

A

templateUrl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where to declare services that the component will use.

A

providers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Decorator for a service that can be injected.

A

@Injectable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Decorator for component input.

17
Q

Decorator for a component output

18
Q

Interpolation data binding

A

{{interpolated}}

19
Q

property setting binding

A

[property]=”value”

20
Q

event binding

A

event=”eventHandler”

21
Q

Two way binding (property setting and event binding).

A

[(ng-model)]=”propertyBinded”

22
Q

Decorator that provides instructions for a template to use.

A

@Directive

23
Q

Directive that alters the layout be adding for removing html elements

A

Structural Directive

24
Q

Structural Directive Declaration

A

*derectiveName=”directive command”

25
For loop directive
*ngFor
26
If loop directive
*ngIf
27
Directive that alters the appearance or behavior of and html element
Attribute Directive
28
Attribute Directive Declaration(s)
(Similar to attributes)
29
Where to declare a service that is created with each use.
In a component
30
Where to declare a service that is re-used.
In a module.
31
Keyword for a behavior library for Angular
Animations
32
Keyword for how a component responds handles the changes.
Change detection
33
Keyword for html document actions
Events
34
Key word for an unencrypted way communicating to a server
HTTP
35
Hey word for tapping into key/changing moments of a components
Lifecycle hook
36
View class that converts data
Pipe
37
Pipe example
data | pipeType
38
Angular navigation class
Router
39
Testing Key Phrase
Angular Testing Patform