To enable the datepicker to become a valid tab target (as in: responds to the correct tab order), set the container to be the parent of the datepicker input. Like this:
<div ref="dpWrapper">
<md-datepicker container.bind="dpWrapper" value.two-way="selectedDate" placeholder="pick a date"></md-datepicker>
</div>