Top "Angular-components" questions

A component controls a patch of screen called a view.

Angular 6 - ng-bootstrap - Style Tabs

I'm having this bootstrap tabs <ngb-tabset> <ngb-tab title="Tab 1"> <ng-template ngbTabContent> Tab 1 </ng-template&…

angular angular-components ng-bootstrap
How to persist service data after reload in angular 5

I have a service to pass data between components and when called it works but when i reload the service …

angular angular-services angular5 angular-components
How to dynamically create component instance with input/output from a service and inject it to DOM separately?

In creating dynamic components in Angular 2, I found out that this process requires ViewContainerRef in order to add newly created …

angular angular-services angular-components
pass data through <router-outlet> using component interaction in angular2

I'm trying to use this technique intercept input property changes with a setter to pass some data from a parent …

angular angular2-routing angular-components router-outlet
Angular Component Constructor Called Twice

I am new to Angular and am running into an issue with the constructor on a child component being called …

javascript angular html typescript angular-components
Creating a angular2 component with ng-content dynamically

I would like to set the body of <ng-content> while instantiating a component dynamically using ComponentFactoryResolver. I see …

angular angular-components
Angular exported component from module not useable in another module

I am exporting a custom component in my AppModule but can not use it in another module, which is being …

angular angular-components angular-module
Angular 4 Subscribing to observable is not updating after change

I have a service with an observable which is being subscribed to via a component. This seems to work as …

angular angular-services angular-components angular-observable
Handle Model Change in Angular 5 Component (Two-way-binding)

I'm currently working on an angular 5 application. I try to alter a member variable of my component in an input …

javascript html angular angular-components two-way-binding
Argument of type "emit" is not assignable to parameter of type 'never'

I need to test a component in Angular which has only one method and certain @Input and @Output properties- updateColumns(…

angular jasmine mocking angular-components testbed