1<div class="photoframe">
2 <img src="{{gImg.thumbnailUrl}}" url="{{gImg.imageUrl}}" image-gallery>
3</div>
4 myApp.directive('imageGallery',function(){
5return {
6 restrict: 'A',
7 scope: {
8 url: '@'
9 },
10 controller: function($scope){
11 console.log($scope.url);
12 }
13}
14});
15
16