title: Integrating timepicker into Ionic app
body: <p>I am playing around with timepickers for an ionic app and am trying to integrate the below into an app</p>
  
  <p><a href="http://codepen.io/mnpenner/pen/mFokd" rel="nofollow">http://codepen.io/mnpenner/pen/mFokd</a></p>
  
  <p>So I copied the code from above and put the js code into a controller and when you click on the input field the clock shows but when you try and select an hour/minute it doesn't do anything - it doesn't look like the functions are getting hit.</p>
  
  <p>Wondering is it something to do with the ion tags its inside:</p>
  
  <pre><code>&lt;ion-view data-ng-controller="clockCtrl"&gt;
    &lt;ion-content&gt;
       &lt;input id="input" /&gt;
    &lt;/ion-content&gt; 
  &lt;/ion-view&gt;
  </code></pre>
  
  <p>Or do I have to make an angular directive or something?</p>