on an ion-ion framework, I tried to add a google map to my application. The problem was that every time I ran grunt, the index.html service scripts were deleted. so I ran this: bower install --save angular -google-maps and the problem is resolved since she wrote the scripts in another file in addition to index.html. the only problem is when I ran grunt serve againt, I got a great error, and since then I just canβt understand what I'm doing wrong ...
error:
Unprepared ReferenceError: google undefined
I think this has something to do with some karma configuration file, although I have no idea what it is. tried to solve it for several hours and could not understand it ...
source share