I used following format:
$spaceManager.getLogoForSpace($!space.key).getDownloadPath()
But, it works only when user logged in, otherwise the logo will be not shown.
Can someone please help me to sort out this problem?