bs-scrollspy wraps content with headings marked bsScrollspy and surfaces the currently visible section. Useful for sticky in-page navigation, table-of-contents highlights, or modal overlays.
A modal scroll body is its own scroll container — wrap its contents in bs-scrollspy and the directive picks the modal as its nearest-scrolling-ancestor target.