working example of single directive for bootstrap input group