logging device to see if we can just pass it into ng-click