added data-if directive - Listen for changes to an attribute and remove the element if the value is undefined, adding it otherwise

Listen for changes to an attribute and remove the element if the value is undefined, adding it otherwise