About 83,300 results
Open links in new tab
  1. angular - Difference between [ (ngModel)] and [ngModel] for …

    The following syntax is used for 2-way data binding. It is basically a syntactic sugar for both: Binding model to view. Binding view to model Now something changes inside our class this …

  2. Angular 2 two way binding using ngModel is not working

    Jul 25, 2015 · 187 Angular has released its final version on 15th of September. Unlike Angular 1 you can use ngModel directive in Angular 2 for two way data binding, but you need write it in a …

  3. How to use ngModel on input (Angular - TypeScript)

    May 16, 2021 · I'm pretty new to Angular, and I'm trying to make a form to ask for some user's input so I can make a simple signup. When I try to use ngModel in my input for two way data …

  4. (change) vs (ngModelChange) in angular - Stack Overflow

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

  5. How to implement ngModel on custom elements? - Stack Overflow

    This Stack Overflow page discusses implementing ngModel on custom elements in Angular, providing insights and solutions for developers.

  6. Why no Angular-CLI generate command for 'model' in Angular …

    Oct 26, 2018 · I just use ng generate class (without any flags), and I believe many others do as well. I think the only time I use a pure class file in Angular is with models. Since they are …

  7. Why ngModel doesn't works on the last version of Angular 17?

    Apr 3, 2024 · NG8002: Can't bind to 'ngModel' since it isn't a known property of 'input'. [plugin angular-compiler] I can't import FormsModule in the app.module.ts because this file doesn't …

  8. angular - After adding [ (ngModel)] to a radio button group, the ...

    After adding the [(ngModel)], only ng-reflect-checked="true" gets set, which prevents the visual styling from showing the default value (since my CSS uses a pseudo-selector).

  9. Can't bind to 'ngModel' since it isn't a known property of 'input'

    Aug 11, 2016 · Probably this is not a very pleasurable for the AngularJS developers as you could use ng-model everywhere anytime before, but as Angular tries to separate modules to use …

  10. How to format a date using ng-model? - Stack Overflow

    Jan 23, 2013 · However, when I look inside my <input> it's shown as Tue Dec 22 2009 00:00:00 GMT-0800 (Pacific Standard Time) which I guess is how JS renders Date objects as strings. …