Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----- One way flow -----
- <input type="text" [ngModel]="example"> VIEW <-- CONTROLLER
- <button (click)="onClickEvent()">Click</button> VIEW --> CONTROLLER
- ------ Two way flow ----
- <input type="text" [(ngModel)]="example"> VIEW <--> CONTROLLER
Add Comment
Please, Sign In to add comment