Use data attribute instead of CSS classes
Make sure the scope data attribute is always set