code: function init() {
  
                      element.wrap('<div class="ng-flat-datepicker-wrapper"></div>');
  
                      $compile(template)(scope);
                      element.after(template);
  
                      if (angular.isDefined(ngModel.$modelValue) && moment.isDate(ngModel.$modelValue)) {
                          scope.calendarCursor = ngModel.$modelValue;
                      }
                  }
docs: Init the directive
  @return {}