["Nice knowing you" isn't slang]<-(ignore)
I've never used it as "nice to know you / nice to meet you". It's usually sarcastic or used as a joke, in my opinion.
Example:
Person A - I'm going to go travel the world for the rest of my life.
Person B - Haha, well, it was nice knowing you!
OR
Person A: I'm going to go jump out of a plane tomorrow!
Person B: Wow, nice knowing you.
EDIT: Actually, I agree with Scott Larsen. I guess I just never thought of it as slang, haha.