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

Latest commit

 

History

History
28 lines (22 loc) · 615 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 615 Bytes

angular-fqueue

Javascript implementation of Array with fixed size (Fixed Queue) for AngularJS
The implementation is based on Ben Nadel's Gist

Installation

Bower

bower install angular-fqueue

NPM

npm install angular-fqueue

Dependencies

FixedQueue depends on Angular only.

Usage

Add 'fqueue' as a dependency to your app and inject FixedQueue into your controller or service.

angular.module('myApp', ['fqueue']);

angular.module('myApp').controller('MyController', function($scope, FixedQueue) {
  // ...
});