added class and attribute binding with data-class and data-attr using a ternery like syntax to bind booleans or just straight bindings