<div ng-app="myApp">
  <div class="container" ng-controller="MyController as vm">
    Init Values: {{vm.foo}} - {{vm.meh}}
    <br/>
    <hr/>
    <div class="row">
      <div ng-app="date">
        <div>
          <div class="input-group input-daterange" id="fromToDate" calendar ng-model="vm.fromToDate">
            <input type="text" class="form-control input-sm" ng-model="vm.bookingFromDate">
            <span class="input-group-addon">to</span>
            <input type="text" class="form-control input-sm" ng-model="vm.bookingToDate">
          </div>
        </div>
      </div>
    </div>
    <hr/> Reading Value: {{vm.bookingFromDate}} - {{vm.bookingToDate}}
  </div>
</div>
body {
  padding: 20px 0px;
}
View Compiled
(function() {
  'use strict'
  angular
    .module('myApp', [])
    .directive("calendar", function() {
      return {
        require: 'ngModel',
        restrict: "A",
        link: function(scope, el, attr) {
          $(el).datepicker({
            format: 'yyyy-mm-dd',
            autoclose: true,
            todayHighlight: true,
            todayBtn: 'linked',
            onSelect: function(dateText) {
              $scope.$apply(function() {
                ngModel.$setViewValue(dateText);
              });
            }
          });
        }
      };
    })
})();

(function() {
  'use strict'

  var controllerId = 'MyController'

  angular
    .module('myApp')
    .controller(controllerId, myCtrl);

  function myCtrl() {
    var vm = this;

    init();

    function init() {
      vm.bookingFromDate = moment().subtract(7, 'days').format('YYYY-MM-DD');
      vm.bookingToDate = moment().format('YYYY-MM-DD');
      vm.foo = vm.bookingFromDate;
      vm.meh = vm.bookingToDate;

      $('#fromDate').val(vm.bookingFromDate);
      $('#toDate').val(vm.bookingToDate);
    }
  }
})();
Run Pen

External CSS

  1. https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.css
  2. https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/css/bootstrap-datepicker.css

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js
  2. //cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.7/angular.min.js
  3. https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment.min.js
  4. https://rawgit.com/eternicode/bootstrap-datepicker/master/js/bootstrap-datepicker.js