Javascript implementation of Array with fixed size (Fixed Queue) for AngularJS
The implementation is based on Ben Nadel's Gist
bower install angular-fqueue
npm install angular-fqueue
FixedQueue depends on Angular only.
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){// ...});