I am generating some input fields dynamically using ng-repeat, which is working fine, but I need to focus on the first input generated by this ng-repeat, the inputs are placed based on their sequenceId values. How to achieve this , I tried writing a directive based on this question, [I am generating some input fields dynamically u