Top "Angular-components" questions

A component controls a patch of screen called a view.

Angular 2 component model refresh view without model changes

I have an Angular 2.4.0 application I'm working on with a form that has some backing Javascript validating/formatting a couple …

javascript angular angular-components
Passing Data From Child Component Into Parent Component

I have problems with my angular, here I have two components: MyApp (ParentComponent) LoginPage (ChildComponent) I have a property UserNow …

angular ionic2 angular-components
Angular - Component different templates

I have a component "course". I use this component to a list. This list sometimes is horizontal and some times …

angular angular-components
Angular (v5+) - Snackbar "openFromComponent", component communication

Angular (v5.2.10) Snackbar --| Intro |-- I have one Angular component (let's call it "Parent") initializing an Angular material Snackbar …

angular typescript angular-components snackbar
Angular 5 Update Parent Component value from child Component

Child Component TS import { Component, OnInit, Input, Output } from '@angular/core'; import { EventEmitter } from 'events'; export class ChildComponent implements …

angular typescript angular-components
Passing HTML into my component

Consider the following component sidebar.component.html: <div class="sidebar"> <ul> <li class="tooltipped" data-position="…

html angular angular-components
Is there a way to dynamically render different templates for an angular 1.5 component

I have a number of angular 1.5 components that all take the same attributes and data structure. I think they could …

angularjs angular-components
Angular 7 - Reload / refresh data different components

How to refresh data in different component 1 when changes made in component 2. These two components are not under same parentnode. …

angular angular-services angular-components reloaddata
Angular pass a Component as ng-template of another Component

In my Angular 6 app I need to pass a Component to another Component as its ng-template. The reason is that …

angular typescript angular-components ng-template
How to reset only specific fields of form in angular 5

I have created a function in one of my component file that resets the form(myform): `onSubmit() { if (this.myform.…

angular forms angular5 angular-components