Top "Angularjs-ng-form" questions

Nestable alias of form directive.

Angular ng-repeat with ng-form, accessing validation in controller

I am trying to generate an editable list using ng-repeat. I want to remind the user to update any edits …

angularjs validation angularjs-ng-repeat angularjs-ng-form
Getting form controls from FormController

I need a way to loop through the registered controls of an AngularJS form. Essentially, I'm trying to get all …

javascript angularjs angularjs-directive angularjs-ng-form
Google-like search box with an AngularJS directive

I am writing an application which UI wise is almost exactly like Google. I arrive at landing page I have …

javascript angularjs angularjs-directive angularjs-ng-form
How to reset custom input directive and its parent form to $pristine

I've implemented a custom input directive - counter with a reset capability. The directive has require: "ngModel". I am resetting …

angularjs angularjs-directive angularjs-ng-model angularjs-ng-form
Validation doesnt work for File Input with 'Required' attribute- AngularJS

I have been playing around this and couldnt get it to work. I was creating an angular form and I …

javascript angularjs validation angularjs-scope angularjs-ng-form
AngularJS multiple forms with ng-repeat validation

I am using ng-form as a parent form and child mg-forms for validation with ng-repeat. <div ng-form="form"> &…

angularjs angularjs-ng-repeat angularjs-ng-form
Set AngularJS nested forms to submitted

I've got a nested AngularJS form like so: <form name="parentForm" ng-submit="submit()"> <input name="parentInput" type="…

angularjs forms angularjs-ng-form
Consider a form invalid while async validator promises are pending

I have an async validator: app.directive('validateBar', ['$http', function($http) { function link($scope, $element, $attrs, ngModel) { ngModel.$asyncValidators.…

angularjs angularjs-model angularjs-ng-form
Angular 2 form validation not working

I have an angular 2 application (RC.4) and I'm having issues with form validation. I have the below form code in …

angular angularjs-ng-form