Added focus directive to set focus on input dynamically