added directive to dynamically set map height