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 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 module created services go to contribute 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 host 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

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 the 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

A

@Input

17
Q

Decorator for component output

A

@Output

18
Q

Interpolation data binding

A

{{interpolated}}

19
Q

property setting binding

A

[property]=”value”

20
Q

Two-way binding (property setting and event binding)

A

[(ng-model)]=”propertyBinded”

21
Q

Decorator that provides instructions for a template to use

A

@Directive

22
Q

A directive that alters the layout be added for removing HTML elements

A

Structural Directive

23
Q

Structural Directive Declaration

A

*directiveName=”directive command”

24
Q

For loop directive

A

*ngFor

25
Q

If loop directive

A

*ngIf

26
Q

A directive that alters the appearance or behavior of an HTML element

A

Attribute Directive

27
Q

Attribute Directive Declaration(s)

A

(Similar to attributes)

28
Q

Where to create a service that is created with each use

A

In a component

29
Q

Where to declare a service that is re-used

A

In a module

30
Q

Keyword for a behavior library for Angular

A

Animations

31
Q

Keyword for how a component responds or handles the changes

A

Change detection

32
Q

Keyword for HTML document actions

A

Events

33
Q

Keyword for an unencrypted way of communicating to the server

A

HTTP

34
Q

Keyword for tapping into key / changing moments of a component

A

Lifecycle hooks

35
Q

View class that converts data

A

Pipe

36
Q

Pipe example

A

data | pipeType

37
Q

Angular navigation class

A

Router