dist/ng-flat-datepicker.js
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;
                    }
                }
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;
                    }
                }
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 ; } }
Init the directive
@return {}
Init the directive