# Problem with using my own directive inside collection-repeat

**URL:** <https://forum.ionicframework.com/t/problem-with-using-my-own-directive-inside-collection-repeat/18663>\
**Category:** ionic-v1\
**Created:** [March 6, 2015, 9:11am UTC](https://forum.ionicframework.com/t/problem-with-using-my-own-directive-inside-collection-repeat/18663 "2015-03-06T09:11:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gzieba](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@gzieba](https://forum.ionicframework.com/u/gzieba)\
**Post date:** [March 6, 2015, 9:11am UTC](https://forum.ionicframework.com/t/problem-with-using-my-own-directive-inside-collection-repeat/18663/1 "2015-03-06T09:11:10Z")

</div>

I use nightly 1.0.0-rc.0-nightly-1120

I have a problem with using own directive inside collection-repeat (it works fine with ng-repeat).  
In directive scope I have got “undefined”, when I need to read “item” value.

Something similar are happening when I am using my own filter of item.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![gzieba](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@gzieba](https://forum.ionicframework.com/u/gzieba)\
**Post date:** [March 6, 2015, 12:50pm UTC](https://forum.ionicframework.com/t/problem-with-using-my-own-directive-inside-collection-repeat/18663/2 "2015-03-06T12:50:58Z")

</div>

I think this issue is related to [[v1.0.0-beta.11] Collection Repeat doesn't work with Directives](http://forum.ionicframework.com/t/v1-0-0-beta-11-collection-repeat-doesnt-work-with-directives/8267/7)
