I am having trouble dynamically displaying YouTube videos on my website using ng-repeat and expressions.
Below is the code snippet:
<ng-youtube-embed ng-repeat="data in videos" url="{{data}}" class="galleryItem" width="100%" ng-click="vm.setImage( image.thumb )">
</ng-youtube-embed>
Error: [ngRepeat:iexp] http://errors.angularjs.org/1.5.8/ngRepeat/iexp?p0=data
N/<@http://localhost:3000/js/angular.min.js:6:412
Je</<.compile@http://localhost:3000/js/angular.min.js:301:120
oa@http://localhost:3000/js/angular.min.js:71:36