Skip to main content

All Questions

0 votes
1 answer
72 views

Validating search parameters in an Angular $scope

I am using the following function to make a specific filter passing the $scope.searchParams in this way: ...
AndreFontaine's user avatar
0 votes
1 answer
71 views

Function to ensure that at least one choice is selected

First here is my settings object below. insight, spike and ...
Leon Gaban's user avatar
2 votes
3 answers
100 views

Validating five date fields in Angular.js

So I have following piece of code which basically validates five date fields in angular service. But the catch is that there may be one to five field(s) visible on the screen based on some other ...
user avatar
4 votes
1 answer
146 views

Conditional async validation function

We have the following validation function: ...
invernomuto's user avatar
2 votes
0 answers
196 views

Angular validation function for a user creation form

I have to make a user creation wizard, there are 3 steps to achieve the insertion of a new user, so every step I have have a validation function to enable the next step. As a first step for the ...
invernomuto's user avatar
2 votes
1 answer
5k views

AngularJS image size validation directive

I've written a directive to validate the width and height of an image in AngularJS. I'm not a JS genius but I get along with it. So I would appreciate some feedback on this directives code if this can ...
floriank's user avatar
  • 225
-2 votes
1 answer
810 views

An own approach to Angularjs validation

Introduction So i am building a SPA with AngularJS. The application provides a large number of <input> elements and can be seen as a huge form. However, i ...
Wottensprels's user avatar