Working data binding between controller and directive.