Angular.js directive that automatically scrolls the content inside the box it was applied to along the vertical axis. This only happens if the content overflows its parent box.
Include the script on your page after the AngularJS tag:
Ensure that your application module specifies ngBoxBounce as a dependency:
Apply the directive to any box that potentially has an overflow and a fixed height.
<!-- content to be scrolled -->
The duration of the animation can be controlled by binding the
The easing function can be defined by binding its name to the
See the CSS property animation-timing-function for a complete list of possible names and combinations.
ngBoxBounce is licensed under the MIT license. See the LICENSE file for more details.