angular-carousel
Advanced tools
Comparing version 0.3.13 to 1.0.0
{ | ||
"name": "angular-carousel", | ||
"description": "Angular Carousel - Mobile friendly touch carousel for AngularJS", | ||
"version": "0.3.13", | ||
"main": "dist/angular-carousel.js", | ||
"version": "1.0.0", | ||
"homepage": "http://revolunet.github.com/angular-carousel", | ||
@@ -6,0 +7,0 @@ "author": "Julien Bouquillon <julien@revolunet.com>", |
@@ -11,9 +11,15 @@ # AngularJS Touch Carousel | ||
## Install : | ||
### Bower | ||
`bower install angular-carousel` | ||
### npm | ||
`npm install angular-carousel` | ||
If you don't use NPM or Bower, just download files [from the github repo](./dist) | ||
## Usage : | ||
- If you use bower, just `bower install angular-carousel`. If not, download files [from the github repo](./dist) | ||
- Add `angular-touch.js`, `angular-carousel.css`, and `angular-carousel.js` to your code: | ||
- Add `angular-touch.js` and `angular-carousel.js` to your code: | ||
```html | ||
<link href="angular-carousel.css" rel="stylesheet" type="text/css" /> | ||
<script src="angular.js"></script> | ||
@@ -23,2 +29,12 @@ <script src="angular-touch.js"></script> | ||
``` | ||
- Or just require the module the CommonJS way (if you use npm) | ||
```js | ||
var angular = require('angular'); | ||
var ngTouch = require('angular-touch'); | ||
var carousel = require('angular-carousel'); | ||
``` | ||
- Add `angular-carousel.css` to your code: | ||
```html | ||
<link href="angular-carousel.css" rel="stylesheet" type="text/css" /> | ||
``` | ||
- Add a dependency to the `angular-carousel` module in your application. | ||
@@ -25,0 +41,0 @@ ```js |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
519539
1
108