Adds ability to scope an object with a certain property in a template.