     A highly extensible date time picker directive.
 ###
 module = angular.module 'ui.bootstrap.moment.datetimepicker', []
-
 #
 # Contain default parameters for the directive
 #
-module.constant('dateTimePickerConfig', {
+module.constant 'dateTimePickerConfig', {
   year:
     format: 'YYYY'
     first: (date) ->


    #ngModel.$setViewValue(newValue);
    ngModel.$render = ->
      scope.date = moment(ngModel.$modelValue) || moment()

    views = [
      'year', 'month', 'day'
      'hour', 'minute', 'second'
    ]

    afterSelect = angular.noop


          value: stepDate.toDate()
        }
        stepDate = moment(stepDate).add(period)
        newDate # Important!

      scope.stepsByWeek = splitByWeeks(scope.steps)

