Sunday, June 18, 2017

The ngModule of Angular 2

Component

Encapsulates the template, data and the behavior of a view

Communication:
  • @Input: Parent component to Child component
  • @Output:Child component to Parent component
  • Use Service


Service

Data access
Logging
Business Logic
Configuration

Router

Responsible for routing rules.


Directive

To modify DOM elements and/or extend their behavior.

No comments:

Post a Comment