Added ngModel so you can access the input model outside the directive