ReferenceError: google is not defined

Hi guys, hope you can help me again… the print screen shows what happens when I run my app on Genymotion emulator (ionic run android -cls). I don’t know if it’s important, but before that I was getting the MultiDex Error and I solved it when I updated my jdk from 1.7 to 1.8. Now my problem is that “google is not defined”, however on my index I already have:

<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'">

<script src=""></script>

Considering that this error shows something wrong with the ionic.bundle.js file I think I need to take a look at this file, but I’m a beginner on ionic development and I don’t know what to look for on this file.

Someone can help me to understand what do I have to do to solve this issue?


but you should load google maps before ng-map

to the knowledge of all, I solved this error. On my index page I had “https//”:

<script src=""></script>

to solve it, I just changed to “http://”:

<script src=""></script>