fix(attribute): check for undefined controller
fix(attribute): check for undefined controller

when trying to set custom element based properties check wether the
controller is undefined

fixes issue https://github.com/aurelia/i18n/issues/123

aurelia/i18n,aurelia/i18n,aurelia/i18n