Improve spatial view directive