title: Combining Date and Time input strings as a Date object
body: <p>I have two input tags for picking date and time from user.</p>
  
  <pre><code>&lt;p&gt;Start Date&lt;/p&gt;&lt;p&gt; &lt;input ng-model="sdate" type="date" &gt;&lt;/p&gt;
  &lt;p&gt;Start Time&lt;/p&gt;&lt;p&gt; &lt;input ng-model="stime" type="time" &gt;&lt;/p&gt;
  </code></pre>
  
  <p>These two values are passed to a function where I want to combine these two input values as a <code>Date</code> object:</p>
  
  <pre><code> new Date(y, m, d, hh, mm, a)
  </code></pre>
  
  <p>Which I can then use to plot an event's details in a Calendar. How can I combine these two values? I have tried:</p>
  
  <pre><code>start:new Date(sdate + stime)
  
  
  start:new Date(sdate , stime)
  
  
  start: new Date(sdate.getFullYear() + sdate.getMonth() + sdate.getDate() + stime.getHours + stime.getMinutes())
  </code></pre>
  
  <p>But none of what I have tried is working.</p>
  
  <p>How do I achieve this when using AngularJS?</p>