Copy Input Value:
- {{ value }} OR ng-bind=”value”
- ng-init=”variable=’value’”
- ng-model=”variable” / {{variable}}
- ng-model=”variable”> / {{variable}}
- {{firstName + lastName}}
- {{ function() }} OR <script src=”controller.js”>
Display Form Value: https://jsfiddle.net/aicccia/99aho7on/
ng-value:
Wait with the data-binding until the field loses focus: ng-model-options
Input Maxlength: ng-maxlength
Input Minlength: ng-minlength
Disable Button: ng-disabled
Reset Input Field: http://www.w3schools.com/angular/reset
Required Field: http://www.w3schools.com/angular/validate_show
Compute Input Fields: factory dependency injection
Select & Option Form: ng-switch & ng-option
Submit Form: ng-submit
Post Submitted Form: https://jsfiddle.net/aicccia/LL26j30e/1/
Disable / enable the input field: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_ng-disabled
Check one to check all Checkbox: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_ng-checked
Checkbox Show Feature: http://www.w3schools.com/angular/form_checkbox
Radio Button Show Feature: http://www.w3schools.com/angular/form_radio
Selectbox Show Feature: ng-switch / ng-switch-default
Form Validation: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_validate
Custom Form Validation: my-directive
Select Country List: https://jsfiddle.net/aicccia/u2rq2s00/
Form Computation: data-ng-init=”variable1=1; variable2=5″