Setting up binding between action input fields and model in new directive.