learn properties of directive