Top "Angular-ngmodel" questions

Used in Angular.

Trying to replace spaces with dashes using ng-model

I'm new to AngularJS and trying to create a simple app that will allow me to upload files to my …

angularjs angularjs-filter angular-ngmodel
Displaying ngModel value for mat-select

I am using Angular Material Select to display holidays. When the user selects a holiday, I would like to display …

angular select angular-material angular-ngmodel
How do I get the ng-model of a select tag to get the initially-selected option?

I'm pretty new to Angular, so I may be going about this all wrong... I have a <select> …

angularjs angular-ngmodel
Angular 2 ngModelChange old value

Can someone please tell me what is the best practice for comparing ngModel old and new value? In angular 1: $scope.$…

angular angular-ngmodel angular2-forms
What is purpose of using forRoot in NgModule?

What is the purpose of using forRoot in NgModule? Is it same as the providers in AngularJS 1.x? How does …

angular angular-ngmodel
Contenteditable with ng-model doesn't work

I'm trying to store the value of a contenteditable to my JS code. But I can't find out why ng-model …

angularjs contenteditable angular-ngmodel
Angular JS: ng-repeat with dynamic ng-model

I have this working piece of code that is repeated multiple times, hence would be great for a ng-repeat loop. …

javascript angularjs angularjs-ng-repeat angular-ngmodel
Bind ng-options value and label to ng-model

I'm using ng-options to generate a select tag whose options are locations. The labels are the location names, and the …

javascript html angularjs angular-ngmodel ng-options
How to $setdirty to a single input

I've got a little problem. I want to set to dirty a single input, I mean, because when I give …

javascript html angularjs angular-ngmodel angularjs-ng-init
ng-model throwing error on input type number in angular 1.3

I have an input field which I want he user to input a number, so I have made an input …

javascript html angularjs angular-ngmodel