Angular
Help!
|
|
||||
---|---|---|---|---|---|
show | NgModules, which provide a compilation context for components, NgModules collect related code into functional sets.
🗑
|
||||
show | 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 | show 🗑
|
||||
Both components and services are simply classes, with _____ that mark their type and provide metadata that tells Angular how to use them. | show 🗑
|
||||
Metadata for a component class | show 🗑
|
||||
show | Which provides the information Angular needs to make it available to components through Dependency Injection (DI).
🗑
|
||||
show | The @Component decorator identifies the class immediately below it as a component, and provides the template and related component-specific metadata.
🗑
|
||||
show | 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.
🗑
|
||||
show | A service class definition is immediately preceded by the @Injectable decorator.
🗑
|
||||
What does service class do? | show 🗑
|
||||
show | service
🗑
|
||||
show | 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 | show 🗑
|
||||
show | delcarations(componeents, directives, pipes), exports, imports, providers(often specified at component level), bootstrap
🗑
|
||||
host view | show 🗑
|
||||
How to inject data in Angular | show 🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
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
Normal Size Small Size show me how
Created by:
zhangtai
Popular Computers sets