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

17
Q

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

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