I think links and logo need a ? after to mark them as optional. See https://github.com/angular/angular.js/issues/1435

```
            'links': '=?',
            'logo': '=?'
```

This code should still work fine w/o them, but I don't see any harm in adding them in.