Top "Angular-components" questions

A component controls a patch of screen called a view.

Angular 7: "Cannot find control with unspecified name attribute"

I am creating my first Angular app and I am getting the following errors in dev mode console: ERROR Error: "…

angular typescript angular-components angular-forms angular-formbuilder
Getting 'ngbCollapse' since it isn't a known property of 'div'. error after moving components into sub module

Error compiler.js:215 Uncaught Error: Template parse errors: Can't bind to 'ngbCollapse' since it isn't a known property of 'div'. ("][…

javascript angular angular-components angular-module
Cannot read property 'viewContainerRef' of undefined

I am trying to display a dynamic component similar (not exact) to the example in angular docs. I have a …

angular angular-directive angular-components
AngularJS 1.5 - How to Set Two Way Bindings on Component

Directives in Angular 1.X are set to have two way binding by default. Components have isolated scopes by default. I …

angularjs angularjs-scope angular-components
Angular pass multiple templates to Component

I'm trying to create a component that accepts multiple templates as inputs. This is the example I have: @Component({ selector: …

angular angular-components angular-template
How to remove a component dynamically in angular

I went through angular dynamically loading components. But i could not find how to remove the component dynamically. My requirement …

angular angular-components angular-dynamic-components
Pass Angular Reactive FormControls to Children Components

I have a parent component where I want to create and store my Reactive Form. There will be multiple Form …

angular components angular-components angular-reactive-forms angular-forms
How to access parent component in angularjs 1.5

Hi i am trying to display simple components in angularjs where child needs to access parent name.And my code …

angularjs components angular-components
Angular2 CUSTOM_ELEMENTS_SCHEMA Doesn't Work

I have just installed a bearbones ng2 app using the ng2 cli. In my AppModule I added schema: [ CUSTOM_ELEMENTS_…

angular angular-components
Angular Form validation on child components

I've written a dynamic form in which there is a main part and sub parts based on a type that's …

forms angular typescript angular-components