I am trying to use the angular google maps directive with my app, but I keep getting an "undefined error"

This is my app.js

```
angular.module('app', ['cs'])

.config(['GoogleMapApiProvider'.ns(), function (GoogleMapApi) {
        GoogleMapApi.configure({
            //    key: 'your api key',
        v: '3.17',
        libraries: 'weather,geometry,visualization'
    });
}])

.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
    //routes
}])

```

and my controller

```
angular.module('cs.Controllers')
.controller('MapController', ['$rootScope', '$scope', '$window', '$document', 'MenuService', 'GoogleMapApi'.ns(),
    function($rootScope, $scope, $window, $document, menuService, GoogleMapApi) {

    $rootScope.menuList = menuService.all();

}]);

```

What could be the problem