Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Angular

QuestionAnswer
The basic building blocks of an Angular application are: NgModules, which provide a compilation context for components, NgModules collect related code into functional sets.
_____ define views Components, which are sets of screen elements that Angular can choose among and modify according to your program logic and data. Every app has at least a root component.
_____ use services Components, which provide specific functionality not directly related to views. Service providers can be injected into components as dependencies, making your code modular, reusable, and efficient.
Both components and services are simply classes, with _____ that mark their type and provide metadata that tells Angular how to use them. decorators
Metadata for a component class Which associates it with a template that defines a view. A template combines ordinary HTML with Angular directives and binding markup that allow Angular to modify the HTML before rendering it for display.
Metadata for a service class Which provides the information Angular needs to make it available to components through Dependency Injection (DI).
@Component + ? The @Component decorator identifies the class immediately below it as a component, and provides the template and related component-specific metadata.
What are Decorators? Decorators are functions that modify JavaScript classes. Angular defines a number of such decorators that attach specific kinds of metadata to classes, so that it knows what those classes mean and how they should work.
@Injectable + ? A service class definition is immediately preceded by the @Injectable decorator.
What does service class do? For data or logic that is not associated with a specific view, and that you want to share across components, you create a service class.
Router NgModule is a _____ service
What is NgModule An NgModule is a container for a cohesive block of code dedicated to an application domain, a workflow, or a closely related set of capabilities.
What does NgModule contains It can contain components, service providers, and other code files whose scope is defined by the containing NgModule.
Modules' importnat properties delcarations(componeents, directives, pipes), exports, imports, providers(often specified at component level), bootstrap
host view When you create a component, it is associated directly with a single view, called the host view. The host view can be the root of a view hierarchy, which can contain embedded views, which are in turn the host views of other components.
How to inject data in Angular In Angular, you can inject data only via a constructor’s arguments. If you see a class with a no-argument constructor, it’s a guarantee that nothing is injected into this component.
Created by: zhangtai
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards