Angular.ITacademy.dk

Forms input

simple-ng-model

<input type="text" ng-model="ctrl.username"/>

See the Pen Forms (Simple-ng-model) by Jalal Hejazi (@Jalalhejazi) on CodePen.

simple-ng-model-with-submit

See the Pen Forms (Simple-ng-model-2) submit by Jalal Hejazi (@Jalalhejazi) on CodePen.

simple-ng-model keep it more simple. using html form tag

<form ng-submit="ctrl.submit()">

See the Pen Forms (Simple-ng-model) even more simple by Jalal Hejazi (@Jalalhejazi) on CodePen.

2 forms submit with binding

See the Pen two-forms-databinding by Jalal Hejazi (@Jalalhejazi) on CodePen.

form validation

See the Pen form-validation by Jalal Hejazi (@Jalalhejazi) on CodePen.

form error messages

See the Pen form-error-messages by Jalal Hejazi (@Jalalhejazi) on CodePen.

form stylings

See the Pen form-error-messages by Jalal Hejazi (@Jalalhejazi) on CodePen.

nested forms

See the Pen nested-forms by Jalal Hejazi (@Jalalhejazi) on CodePen.

Binding to dropdown ###

See the Pen dropdown-binding by Jalal Hejazi (@Jalalhejazi) on CodePen.

Employee Form

See the Pen Forms-directives by Jalal Hejazi (@Jalalhejazi) on CodePen.

links about forms

Build HTML5 Form online with form-builder

Try Form validations

ng-form-email