As far as I know, those ones that plug in the wall (like in the link) are considered wall chargers, unless your friend meant a dock, which you dock your ipod right on to. The ones I linked plug into an outlet, and then you'd plug your usb cable to it and attach the ipod. With a dock, you would plug it in and then "dock" your ipod on it. Like with this one.
But honestly, it sounds like the problem might be the ipod itself. It shouldn't matter if you are charging it via a wall dock or charger or on your computer. It should hold the charge either way. Did you charge it until it said it was fully charged? It might be a battery issue.