Cordova ios simulator fails on rendering an input field

I’ve posted a question on stackoverflow about an input field build with an angular directive injected in a ionic modal, but got no answer so far. Hope you can give me some directions this is the link:
http://stackoverflow.com/questions/30375521/an-input-form-made-with-an-angularjs-ionic-directive-is-not-rendered-in-the-cord