logging scope.items within directive's link