Collection repeat standalone directive

Is it possible to use the collection-repeat directive only with angularjs and without Ionic? The directive is available at https://github.com/driftyco/ionic/blob/master/js/angular/directive/collectionRepeat.js .

Thanks!

Yep. But not in 10 seconds :)

First, include the directive file into your project, and transform this (L135) :

IonicModule
.directive('collectionRepeat', ...

Into this :

angular.module('yourModuleName')
.directive('collectionRepeat', ...

Then, copy too the two ionic dependencies of collectionRepeat which are $collectionRepeatManager and $collectionDataSource, repeating the same modification.

You should be done.