Top "Angular-template" questions

Use this tag for Angular questions which are related to templates topics, such as interpolation ({{...}}), template expressions, template statements, data-binding.

Angular 6 Nested FormGroup Template Validation

My form group structure looks like this (order.component.ts): this.orderForm = this.formBuilder.group({ customer: this.formBuilder.group({ name: […

angular angular6 angular-template
How to pass context to Angular 5 template from *ngIf

Angular's NgTemplateOutlet allows you to pass a context to the outlet for property binding. <ng-container *ngTemplateOutlet="eng; context: {$implicit: …

angular templates if-statement angular-template
Angular2 disable click on div

I tried lots and search numbers of time but I didnt get any solution to disable click on div element. …

html angular angular-template
Angular parent to child binding change detection

In a nutshell, I have a component which works as a text input. The parent component passes data into this …

javascript angular angular-template
How do I select a ContentChild of a native element in Angular 6?

I have a component that uses content projection. <ng-content select="button"> </ng-content> I want to do …

angular angular6 angular-directive angular-template
Remove host component tag from html in angular 4

I have a table in which I want to display a table row, which is a component. And also I …

html css angular angular-directive angular-template
Angular 5 and Enums at html view from different file

I was trying to define the enum in another file to use it in other places as well. For example …

angular typescript angular-template
Conditional duplicate templateref in ng-content with selector

I have a component which toggles the component's template based on client device size. Component code is: import {Component} from …

angular angular-template ng-content