npm install angular-bootstrap-affixPure AngularJS component replicating Twitter Bootstrap's Affix component behavior.
The affix behavior enables dynamic pinning of a DOM element during page scrolling when specific conditions are met.
+ Install with bower, bower install angular-bootstrap-affix --save
+ Or download the [production version][min] or the [development version][max].
[min]: https://raw.github.com/mgcrea/jquery-bootstrap-affix/master/dist/angular-bootstrap-affix.min.js
[max]: https://raw.github.com/mgcrea/jquery-bootstrap-affix/master/dist/angular-bootstrap-affix.js
In your web page:
``html`
In your app.js:
`js`
angular.module('myApp', ['mgcrea.bootstrap.affix'])
+ To easily add affix behavior to any element, just add bs-affix to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.
+ Check Twitter Bootstrap's Affix docs.
`html``