title: Set picked date to another datepicker with Materialize
body: <p>I'm using Materialize to create an app with two datepickers:</p>
  
  <pre><code>$(document).ready(function(){
      $('#outDate').datepicker({
          format: 'dd-mm-yyyy'
      });
    });
  
  
    $(document).ready(function(){
            $('#returnDate').datepicker({
                format: 'dd-mm-yyyy',
            });
          });
  </code></pre>
  
  <p>What i need to do is pass the selected date from datepicker 1 ('#outDate') and set into datepicker 2 ('#returnDate'). How can i do that. I've read the doc of Materialize, but i'm not getting any success.</p>
  
  <p>Someone can help me, please?</p>
  
  <p>Also i'm using Javascript and AngulrJs.</p>
  
  <p>Thanx in advance.</p>