Fix issues with angular 1.2.25

fixing issue with 1.2.25 hypnotic-gesticulation causing getPlaceHolder to throw an error. Also, causing inputValue to be passed as undefined