Example of using directives and data binding