Top "Angular2-components" questions

In Angular 2, Components are the main way we build and specify elements and logic on the page.

How to create subject ( rx.js) with 2 parameters?

I am using service with subject as communication service for components in my angular2 application. Calling method: this.notification.create(…

angular typescript rxjs angular2-components subject
How to access a component from different module in angular 2

I am new to angular 2, so please excuse me if this question sounds trivial to you. I am creating a …

angular angular2-components angular2-modules
Angular 4 Component ngOnInit not called on each route request

I just recently started diving into Angular 4 coming from Angular 1.5. I'm working with user routes and pulling API data from …

angular angular2-routing angular2-components
Retain data on page reload in Angular 2

In my Angular 2 app, I pass in some data to a PageComponent from my HomeComponent which is then saved to …

angular angular2-template angular2-components
How to make components in Angular 2 singleton?

I am using Angular 2 to build my web application which which has lot of components. I am using angular-cli to …

angular singleton angular2-components
Angular 4: Dynamic template with interpolation

I'm building a data table component that is being designed as very generic component. The idea is to define the …

angular typescript angular2-directives angular2-components
Angular 2 global component

My structure is as follows : App *component, module, template* Component 1 *component, module, template* Component 11 *component, module, template* Global Component *component, …

angular angular2-components angular2-modules
Angular2 pass data to route from component

I need to pass data from one component to another, I found only the way to do it with route …

angular angular2-routing angular2-components