A simple AngularJS directive to use jQuery backstretch plugin (http://srobbin.com/jquery-plugins/backstretch/)
Get the last angular-backstretch.js
from here OR install it via bower: bower install angular-backstretch
- Include
angular-backstretch.js
in your project - Add it as a dependency of your main module:
angular.module('app', ['ngBackstretch'])
- Declare an HTML element using the directive:
<div ng-backstretch="..."></div>
Version 1.0.1