added directive initFocus to focus new inputs