Top "Angular2-directives" questions

Use for questions about Angular 2+ directives

How to pass object from one component to another in Angular 2?

I have Angular components and first component uses the second one as a directive. They should share the same model …

angular angular2-directives
Angular 2 Scroll to top on Route Change

In my Angular 2 app when I scroll down a page and click the link at the bottom of the page, …

angular typescript angular2-routing angular2-template angular2-directives
Exception: Can't bind to 'ngFor' since it isn't a known native property

What am I doing wrong? import {bootstrap, Component} from 'angular2/angular2' @Component({ selector: 'conf-talks', template: `<div *ngFor="talk …

angular typescript angular2-directives ngfor
How to put a component inside another component in Angular2?

I'm new at Angular and I'm still trying to understand it. I've followed the course on the Microsoft Virtual Academy …

angular angular2-directives
Angular: Cannot find a differ supporting object '[object Object]'

Im following this tutorial. On the way to get list of users from api.github Im getting error: Cannot find …

angular angular2-routing angular2-directives angular2-http
How to import component into another root component in Angular 2

I am trying to import component from one file another root component file. it give error as .. zone.js:484 Unhandled …

angular angular2-directives
angular 4: *ngIf with multiple conditions

I'm confused a bit. I need to hide block if result have one of several cases. But seems it not …

angular typescript angular2-directives angular-ng-if
Angular exception: Can't bind to 'ngForIn' since it isn't a known native property

What am I doing wrong? import {bootstrap, Component} from 'angular2/angular2' @Component({ selector: 'conf-talks', template: `<div *ngFor="let …

angular angular2-directives
Implementing autocomplete

I am having trouble finding a good autocomplete component for Angular2. Just anything that I can pass a list of …

angular angular2-template angular2-directives
Pass parameters with EventEmitter

I have a directive to initializes a jQueryUI sortable on a DOM element. The jQueryUI sortable also has a set …

angular eventemitter angular2-directives