Converting addresses to coordinates


#1

I try to make app that will use google maps. I want:

  1. Show on google map marker with current location.
  2. I have list with addresses and I want to show these, how markers on google map. I must convert addresses to coordinates.

I was reading about ng-cordova. There is plugin “Geolocation”. I see that I can use it if I need curent coordinates. It is good - I can show current location.

How can I converting addresses to coordinates? Then I used google map for usual web pages, I used this:
geocoder.geocode( { 'address': address}, function(results, status) {...});

But what I must to use for mobile ionic app?