Custom directives and collection-repeat


#1

For some reason I’m not able to access data sent to scope in a custom directive that sends an item from collection-repeat.
Please look at the console here:
[http://codepen.io/anon/pen/ZGGwXZ][1]

How come when I try to print item it’s undefined, but I’m able to use it in the template?
[1]: http://codepen.io/anon/pen/ZGGwXZ