Scoping tag for Oz.
Using component:
$ component install treygriffith/oz-scope
Using a script tag (UMD compatible)
<script src="./oz-scope.min.js"></script>
Causes all child DOM nodes to be rendered in the context of the indicated property. If the property has a false-y value, the DOM node is hidden.
Notation:
<div oz-scope="person"></div>
Example:
var context = {
person: {
name: 'Tobi'
}
};
<div oz-scope="person">
<span oz-text="name">Tobi</span>
</div>
MIT