title: Angular compare time via variables
body: <p>I am storing the time in a variable to compare it with another one
  and so, to have a response ifi my variable is >14:00 or &lt;14:00
  I do not know (and documenation does not support), how to store the "14:00" in the second variable..</p>
  
  <pre><code>var time = ed.DateTimeTo;
  var checktime=(??);
  if (time &gt; checktime) {
  console.log("Time is &gt;14:00");
  } else
  console.log("Time is &lt;14:00!");
  </code></pre>
  
  <p>Any help is welcome!</p>