Believe it or not, but that is actually a happy smile. Loki's getting his belly rubbed and he's enjoying every minute of it. A show of teeth doesn't always indicate aggression. You have to take everything into account. The eyes, the ears, the stance, and even muscle tension. Reading dogs' body language is very subtle. And I think that while you can learn some of it through pictures and videos, the best way is simply experience.