Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 7bcf457

Browse files
committed
Primary information updated/added.
1 parent a80ad8c commit 7bcf457

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

Diff for: README.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
# angular-fqueue
22
Javascript implementation of Array with fixed size (Fixed Queue) for AngularJS<br/>
3-
The implementation is based on Ben Nadel's Gist
3+
The implementation is based on Ben Nadel's [Gist](https://gist.github.com/bennadel/9760671)
4+
5+
## Installation
6+
7+
#### Bower
8+
```
9+
bower install angular-fqueue
10+
```
11+
#### NPM
12+
```
13+
npm install angular-fqueue
14+
```
15+
16+
## Dependencies
17+
FixedQueue depends on Angular only.
18+
19+
## Usage
20+
Add 'fqueue' as a dependency to your app and inject FixedQueue into your controller or service.
21+
22+
````javascript
23+
angular.module('myApp', ['fqueue']);
24+
25+
angular.module('myApp').controller('MyController', function($scope, FixedQueue) {
26+
// ...
27+
});
28+
````

0 commit comments

Comments
 (0)