npm install ngx-focus-control --save
Focus control directive
This directive allows the user to manually define the next and/or previous focus target.
Example shows how to revert direction of focus. Focus the first element and navigate using the keyboard (TAB and SHIFT + TAB).