Wait for angular to finish updating the DOM
Use $timeout:
$timeout(function() { $(':input[name=dispense_date]').datepicker();});
Angular will ensure that the timeout function executes after the compile/link phase and even after the render phase.