refactored studyarea create to use google map directive