I tried with
$scope.watch on address variable but that didnt work.
$scope.$watch('address', function () { console.log($scope.address); }, true);
i am working on script which shows neatby atms, script auto detects users location to show nearby atms as well as user can check atms in other areas/places using autocomplete plugin as well.
for that purpose i want to access address variable. But i couldn't.
if u use <span class="help-block"><b>Place id: </b>{{address.components.placeId}}</span> i can see values there but dont know why it doesnt show.
I tried with
$scope.watchonaddressvariable but that didnt work.$scope.$watch('address', function () { console.log($scope.address); }, true);i am working on script which shows neatby atms, script auto detects users location to show nearby atms as well as user can check atms in other areas/places using autocomplete plugin as well.
for that purpose i want to access
addressvariable. But i couldn't.if u use
<span class="help-block"><b>Place id: </b>{{address.components.placeId}}</span>i can see values there but dont know why it doesnt show.