We should probably make a helper function for this

```js
function valueOrDefault(value, defaultValue) {
  return angular.isDefined(value) ? scope.$eval(value) : defaultValue;
}
```

`var day = valueOrDefault($attrs.dayFormat, dtConfig.dayFormat)`