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.

A

@Input

17
Q

Decorator for a 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

Directive that alters the layout be adding for removing html elements

A

Structural Directive

23
Q

Structural Directive Declaration

A

*derectiveName=”directive command”

24
Q

For loop directive

A

*ngFor

25
Q

If loop directive

A

*ngIf

26
Q

Directive that alters the appearance or behavior of and html element

A

Attribute Directive

27
Q

Attribute Directive Declaration(s)

A

(Similar to attributes)

28
Q

Where to declare 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 handles the changes.

A

Change detection

32
Q

Keyword for html document actions

A

Events

33
Q

Key word for an unencrypted way communicating to a server

A

HTTP

34
Q

Hey word for tapping into key/changing moments of a components

A

Lifecycle hook

35
Q

View class that converts data

A

Pipe

36
Q

Pipe example

A

data | pipeType

37
Q

Angular navigation class

A

Router