used ng-submit, added 'required' attribute to city name input field
updated comments