None-profile owners cannot see first asset url

Fix by moving $scope.getFirstAssetUrl from inside the $scope.isAbleEdit
block to outside it from private. Anyone can now use this method.
Removed test code for fixing bug