Architecture Flashcards
Manager for templates
component
Logic of the application
service
boxes services and components
module
Decorators
Functions that modify a javascript class
Module decorator in Angular
@NgModule
Where put view classes for a module
declarations
Where a modules’ subset of declarations go to be visible to other modules go?
exports
Where a module places other modules to get the declaration classes from it
imports
Where a module created services go to contribute to the global collection of services
providers
The one-time use location for all modules to provide a main application view component that host all other views
bootstrap
Component decorator in Angular
@Component
Where to declare the tag name for a component to use in other templates
selector
Where to declare the URL to a component template
templateUrl
Where to declare the services that the component will use?
providers
Decorator for a service that can be injected
@Injectable