Skip to main content

All Questions

4 votes
1 answer
157 views

Handling two datepickers in a form with angularjs

Here's I am using simple form with angularjs. Everything works fine. I am having watchgroup for EndDateFrom & EndDateTo datepickers. When it's defined I am logging the value to console. I am ...
Vijay's user avatar
  • 41
0 votes
1 answer
315 views

AngularJS calendar directive

Is adding CSS to template via <style> the right approach? How should I structure the application? Plunker link to the code ...
Nagesh's user avatar
  • 21
3 votes
1 answer
12k views

Convert all dates in an array to date format

I'm returning an array containing dates (and other things) from an API, then looping through the array on the front end to convert them into dates The backend uses Node.Js and queries a mySql ...
Geraint's user avatar
  • 273
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
5 votes
1 answer
872 views

Day, month and year clone in to one with MomentJS

There are two methods I am using here for merging day, month and year. First one ...
Muhammed's user avatar
  • 303
7 votes
1 answer
968 views

Datepickers for departure and return dates

I have to two datepickers. I want achieve the following functionality: the return date cannot be selected before the selected departure date and the departure date cannot be after the selected return ...
Wild Goat's user avatar
  • 191