There is one problem which is why I am trying to use a directive. When you have already selected a date and hours, if you go back to the date and select a different date, it should reload the hours with the default value. I had it working like this with jquery. Why when the hours reload, does it keep the time you previously selected.
I see that as a problem. The time I was on first, might not be available when the new times are reloaded. I have tried a few things but my code is doing the same. How can we handle that scenario? On Monday, May 12, 2014 12:13:15 PM UTC-4, Sander Elias wrote: > > Hi Billy, > > The code I provided in my last function already provides for an way to get > the dates and hours updated based on the input of the user. > If you adapt your service to to the actual fetching based on the parameter > it receives, you are done there. > > And looking into it, and decide for yourself, is the best thing you can > do! Nobody knows your project like you do! Just make sure > you decision is based on facts, and not on believes! Personally I believe > the simpler a program is, the better. Its better to look for things > to remove, then it is to keep on adding code! > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
