Top "Angular" questions

Questions about Angular (not to be confused with AngularJS), the web framework from Google.

Angular window resize event

I would like to perform some tasks based on the window re-size event (on load and dynamically). Currently I have …

javascript angular
Property 'map' does not exist on type 'Observable<Response>'

I am trying to call an API from Angular but am getting this error: Property 'map' does not exist on …

angular typescript1.8
How to generate components in a specific folder with angular-cli?

I am using angualr4 with angular-cli and I am able to create new component with the following command. E:\HiddenWords&…

angular typescript angular-cli
Catching errors in Angular HttpClient

I have a data service that looks like this: @Injectable() export class DataService { baseUrl = 'http://localhost' constructor( private httpClient: HttpClient) { } …

angular angular-httpclient
CUSTOM_ELEMENTS_SCHEMA added to NgModule.schemas still showing Error

I just upgraded from Angular 2 rc4 to rc6 and having troubles doing so. I see the following error on my …

angular karma-jasmine
How can I manually set an Angular form field as invalid?

I am working on a login form and if the user enters invalid credentials we want to mark both the …

validation angular angular2-forms
onchange equivalent in angular2

i'm using onchange to save the value of my input range into firebase , but i have an error who say …

angular
Triggering change detection manually in Angular

I'm writing an Angular component that has a property Mode(): string. I would like to be able to set this …

angular angular2-changedetection
Angular 2 - NgFor using numbers instead collections

...for example... <div class="month" *ngFor="#item of myCollection; #i = index"> ... </div> Is possible to do …

angular
Angular 2 Dropdown Options Default Value

In Angular 1 I could select the default option for a drop down box using the following: <select data-ng-model="carSelection" …

html angular