Top "Angular2-decorators" questions

How to pass observable value to @Input() Angular 4

I am new to angular and I have the following situation which is I have a service getAnswers():Observable<…

angular typescript rxjs angular2-observables angular2-decorators
What does @Component decorator exactly do?

From official docs we know that Component decorator allows you to mark a class as an Angular component and provide …

angular angular2-components angular2-decorators
Accessing `selector` from within an Angular 2 component

I'm trying to figure out how I can access the selector that we pass into the @Component decorator. For example @…

angular angular2-directives angular2-components angular2-decorators
Angular 2 Block-scoped Variable Issues

I am currently running an Angular 2 demo using TypeScript. There are two files: the index.html file that is being …

angular typescript angular2-directives angular2-decorators
What is the @ symbol in TypeScript?

Why in components or directives do the metadata or decorators have the @ symbol (e.g. @Component, @Directive)? What is the …

angular typescript angular2-decorators