allow element and attr injections

needed since this is really a 'directive controller'