Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i cannot find angular-backstretch in bower #5

Open
nez opened this issue Aug 13, 2014 · 2 comments
Open

i cannot find angular-backstretch in bower #5

nez opened this issue Aug 13, 2014 · 2 comments

Comments

@nez
Copy link

nez commented Aug 13, 2014

No description provided.

@khocef
Copy link

khocef commented Aug 28, 2014

same problem, bower install angular-backstretch --save

bower ENOTFOUND Package angular-backstretch not found

@estudiooka
Copy link

Setup

  1. Include angular-backstretch.js in your project

  2. Add it as a dependency of your main module: angular.module('app', ['ngBackstretch'])

  3. Create an object in your controller with the desired configuration. For example:

    $scope.backstretch = {
    options: { fade: 750, duration: 3000, bodyBackground: true },
    images: [
    "img/bg_1.png",
    "img/bg_2.png",
    "img/bg_3.png"
    ]
    };

  4. Declare an HTML element using the directive: <my-backstretch configuration="backstretch"></my-backstretch>

Version 0.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants