// Ionic Starter App

// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
angular.module('main', ['ionic', 'uiGmapgoogle-maps', 'ngAutocomplete', 'ngCordova' , 'app', 'map', 'photo'])

    .config(['$urlRouterProvider', 'uiGmapGoogleMapApiProvider',function($urlRouterProvider, uiGmapGoogleMapApiProvider){
        $urlRouterProvider.otherwise('/');
        uiGmapGoogleMapApiProvider.configure({
            key: 'AIzaSyCavNvapehlPoN1VeNI4ti2ZPGHF0aqkrU'
           // v: '3.17',
           // libraries: 'places',
           // language:'fr'// 'weather,geometry,visualization'
        });
    }])

    .run(function ($ionicPlatform, $state) {
        $ionicPlatform.ready(function () {
            // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
            // for form inputs)
            if (window.cordova && window.cordova.plugins.Keyboard) {
                cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
            }
            if (window.StatusBar) {
                StatusBar.styleDefault();
            }
        });
    });

@@ -603,47 +603,21 @@
 y: '
-AIzaSyCavNvapehlPoN1VeNI4ti2ZPGHF0aqkrU
+Your key here
 '%0A  

Update app.js