How to create directive that sets styles on ion-components


What I’d like to do, is set the following options:


but avoid cluttering all my html files.
I’ve tried making a component, but this results in bad rendering because components has their own tags outside of the ion-components.

Is there any way to set these attributes in a directive that will work on <Ion-Components> ?

like <ion-content myContentAttribute="style"></ion-content>?