You are following the wrong approach if you want to use attributes to "config" your input field you should use directives instad of a component... and if you need to modify the native element on which you are appling your directive use the renderer service shipped with angular