Top "Angular-components" questions

A component controls a patch of screen called a view.

What is entryComponents in angular ngModule?

I am working on an Ionic app ( 2.0.0-rc0 ) which depends on angular 2 . So the new introduction of ngModules is included. …

angular angular-components angular-module
How to make a synchronous call in angular 5?

So, I was trying to get the solution of this problem. But, somehow I am unable to do so, May …

angular typescript service angular-services angular-components
No provider for ControlContainer - Angular 5

I am converting a purchased, third-party template into an Angular 5 app, and just ran into an error. I am very …

angular angular5 angular-components angular-forms
Angular 2 - Passing data to Child component after Parent initialisation

I have a parent component which is getting data from a server through a service. I need some of this …

angular angular-components
Multiple ng-content

I am trying to build a custom component using multiple ng-content in Angular 6, but this is not working and I …

angular angular6 angular-components ng-content
Angular 4 - Pass an object from one component to another (no parent - child hierarchy)

My situation: I have a component showing tiles with each tile representing an object from an array that is looped …

angular angular-components angular-router
How to reload the current Angular 2 Component

How can I reload the same component again in Angular 2? Here is my code below: import { Component, OnInit, ElementRef, Renderer } …

javascript angular typescript angular-components
How disable all the dates before a particular date in angular?

I am building a component (html, css, spec.ts, ts) in angular in which I always want endDate > startDate. …

html angular angular-material angular-components angular-forms
Declare a component with generic type

Is it possible to declare a component with a generic type in Angular 4? The following code causes build errors: export …

angular typescript angular-components typescript-generics