AngularJS Flashcards

1
Q

JavaScript Patterns

A

Functions as abstractions

Functions to build modules

Functions to avoid global variables

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

Functions as Abstractions

A

We can use functions to create abstraction. Abstractions are useful because they provide some type of encapsulation.

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

Controller Basics

A

It’s job is to control the information we need to put onto a page.

it uses ng-controller

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

What are Directives?

A

They teach HTML new tricks!

e.g.

ng-app is a Angular built in Directive

ng-model is another example

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

Filters

A

{{ cust.name | uppercase }}

uppercase is the filter, creating an upper cased customer name.

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

MVC

A

Model, View, Controller

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

Scope

A

$scope is the “glue” (View Model) between a controller and a view

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

View

A

Think of it as the front page of the application…it is what is viewed

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

Controller

A

The controller drives the app and controlles utlimatly what data gets bound into the view.

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

Key Players in AngularJS

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