Top "Angular" questions

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

How can I get new selection in "select" in Angular 2?

I am using Angular 2 (TypeScript). I want to do something with the new selection, but what I get in onChange() …

angular typescript html-select
(change) vs (ngModelChange) in angular

Angular 1 does not accept onchange() event, it's only accepts ng-change() event. Angular 2, on the other hand, accepts both (change) and (…

javascript html angular typescript angular-ngmodelchange
How to upgrade Angular CLI to the latest version

Using ng --version I got: @angular/cli: 1.0.0 which is not the latest release available. Since I have Angular CLI globally …

angular angular-cli
ng is not recognized as an internal or external command

Running windows 7 Professional 32bit. I tried running npm install -g angular-cli both under normal or admin. I also tried adding …

windows-7 angular angular-cli
Angular HTML binding

I am writing an Angular application and I have an HTML response I want to display. How do I do …

angular angular2-template angular2-databinding
Difference between Constructor and ngOnInit

Angular provides life cycle hook ngOnInit by default. Why should ngOnInit be used, if we already have a constructor?

angular typescript ngoninit
Binding select element to object in Angular

I'd like to bind a select element to a list of objects -- which is easy enough: @Component({ selector: 'myApp', …

html angular
What is the difference between Promises and Observables?

What is the difference between Promise and Observable in Angular? An example on each would be helpful in understanding both …

angular promise rxjs angular-promise angular-observable
How to pass url arguments (query string) to a HTTP request on Angular?

I'm creating a HTTP request on Angular, but I do not know how to add url arguments (query string) to …

http angular typescript
Angular 2 Show and Hide an element

I'm having a problem hiding and showing an element depending of a boolean variable in Angular 2. this is the code …

typescript angular