Ion-google-lplace ngmodel is undefined

'm trying to submit the ng model in my ion-google-place directive but it always logs undefined

view:

    <form ng-submit="submit()">
     <ion-google-place placeholder="Enter Address" ng-model="location" geocode-options="geocodeOptions"/>

 <button ng-click="submit()">Submit</button>

</form>

controller:

$scope.submit = function(){
      var location = $scope.location;
     console.log(location);
     }