<NME> map.js
<BEF> /**
 * @ngdoc directive
 * @memberof ngMap
 * @name ng-map
 * @param Attr2Options {service}
 *  convert html attribute to Google map api options
 * @description
 * Implementation of {@link __MapController}
 * Initialize a Google map within a `<div>` tag
 *   with given options and register events
 *
 * @attr {Expression} map-initialized
 *   callback function when map is initialized
 *   e.g., map-initialized="mycallback(map)"
 * @attr {Expression} geo-callback if center is an address or current location,
 *   the expression is will be executed when geo-lookup is successful.
 *   e.g., geo-callback="showMyStoreInfo()"
 * @attr {Array} geo-fallback-center
 *   The center of map incase geolocation failed. i.e. [0,0]
 * @attr {Object} geo-location-options
 *  The navigator geolocation options.
 *  e.g., { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true }.
 *  If none specified, { timeout: 5000 }.
 *  If timeout not specified, timeout: 5000 added
 * @attr {Boolean} zoom-to-include-markers
 *  When true, map boundary will be changed automatially
 *  to include all markers when initialized
 * @attr {Boolean} default-style
 *  When false, the default styling,
 *  `display:block;height:300px`, will be ignored.
 * @attr {String} &lt;MapOption> Any Google map options,
 *  https://developers.google.com/maps/documentation/javascript/reference?csw=1#MapOptions
 * @attr {String} &lt;MapEvent> Any Google map events,
 *  https://rawgit.com/allenhwkim/angularjs-google-maps/master/build/map_events.html
 * @attr {Boolean} single-info-window
 *  When true the map will only display one info window at the time,
 *  if not set or false,
 *  everytime an info window is open it will be displayed with the othe one.
 * @attr {Boolean} trigger-resize
 *  Default to false.  Set to true to trigger resize of the map.  Needs to be done anytime you resize the map
 * @example
 * Usage:
 *   <map MAP_OPTIONS_OR_MAP_EVENTS ..>
 *     ... Any children directives
 *   </map>
 *
 * Example:
 *   <map center="[40.74, -74.18]" on-click="doThat()">
 *   </map>
 *
 *   <map geo-fallback-center="[40.74, -74.18]" zoom-to-inlude-markers="true">
 *   </map>
 */
(function () {
  'use strict';

  var mapDirective = function () {
    return {
      restrict: 'AE',
      controller: '__MapController',
      conrollerAs: 'ngmap'
    };
  };

  angular.module('ngMap').directive('map', [mapDirective]);
  angular.module('ngMap').directive('ngMap', [mapDirective]);
})();

<MSG> Merge pull request #518 from galenmarchetti/patch-1

Update map.js
<DFF> @@ -58,7 +58,7 @@
     return {
       restrict: 'AE',
       controller: '__MapController',
-      conrollerAs: 'ngmap'
+      controllerAs: 'ngmap'
     };
   };
 

{'commit': "diff --git a/directives/map.js b/directives/map.js\nindex d6c0213..dd71601 100644\n--- a/directives/map.js\n+++ b/directives/map.js\n@@ -58,7 +58,7 @@\n     return {\n       restrict: 'AE',\n       controller: '__MapController',\n-      conrollerAs: 'ngmap'\n+      controllerAs: 'ngmap'\n     };\n   };\n \n", 'commit_subject': 'Merge pull request #518 from galenmarchetti/patch-1', 'repo_name': 'allenhwkim/angularjs-google-maps', 'committer': {'name': 'Allen Kim', 'email': '9a7b2dd7b3e780f18d9785951ae430de3ecc18ae@gmail.com', 'time_sec': '1456155266', 'tz_offset': '-300', 'date': {'seconds': '1456155266'}}, 'commit_tree': 'a9d8897ade6e59330cbdf64495a28c2e8d78856c', 'commit_message': 'Merge pull request #518 from galenmarchetti/patch-1\n\nUpdate map.js', 'language_name': 'HTML', 'license': 'mit', 'hunks': "@@ -58,7 +58,7 @@\n     return {\n       restrict: 'AE',\n       controller: '__MapController',\n-      conrollerAs: 'ngmap'\n+      controllerAs: 'ngmap'\n     };\n   };\n \n", 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/directives/map.js', 'tgt_file': 'b/directives/map.js', 'file_extension': '.js', 'before_file': '/**\n * @ngdoc directive\n * @memberof ngMap\n * @name ng-map\n * @param Attr2Options {service}\n *  convert html attribute to Google map api options\n * @description\n * Implementation of {@link __MapController}\n * Initialize a Google map within a `<div>` tag\n *   with given options and register events\n *\n * @attr {Expression} map-initialized\n *   callback function when map is initialized\n *   e.g., map-initialized="mycallback(map)"\n * @attr {Expression} geo-callback if center is an address or current location,\n *   the expression is will be executed when geo-lookup is successful.\n *   e.g., geo-callback="showMyStoreInfo()"\n * @attr {Array} geo-fallback-center\n *   The center of map incase geolocation failed. i.e. [0,0]\n * @attr {Object} geo-location-options\n *  The navigator geolocation options.\n *  e.g., { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true }.\n *  If none specified, { timeout: 5000 }.\n *  If timeout not specified, timeout: 5000 added\n * @attr {Boolean} zoom-to-include-markers\n *  When true, map boundary will be changed automatially\n *  to include all markers when initialized\n * @attr {Boolean} default-style\n *  When false, the default styling,\n *  `display:block;height:300px`, will be ignored.\n * @attr {String} &lt;MapOption> Any Google map options,\n *  https://developers.google.com/maps/documentation/javascript/reference?csw=1#MapOptions\n * @attr {String} &lt;MapEvent> Any Google map events,\n *  https://rawgit.com/allenhwkim/angularjs-google-maps/master/build/map_events.html\n * @attr {Boolean} single-info-window\n *  When true the map will only display one info window at the time,\n *  if not set or false,\n *  everytime an info window is open it will be displayed with the othe one.\n * @attr {Boolean} trigger-resize\n *  Default to false.  Set to true to trigger resize of the map.  Needs to be done anytime you resize the map\n * @example\n * Usage:\n *   <map MAP_OPTIONS_OR_MAP_EVENTS ..>\n *     ... Any children directives\n *   </map>\n *\n * Example:\n *   <map center="[40.74, -74.18]" on-click="doThat()">\n *   </map>\n *\n *   <map geo-fallback-center="[40.74, -74.18]" zoom-to-inlude-markers="true">\n *   </map>\n */\n(function () {\n  \'use strict\';\n\n  var mapDirective = function () {\n    return {\n      restrict: \'AE\',\n      controller: \'__MapController\',\n      conrollerAs: \'ngmap\'\n    };\n  };\n\n  angular.module(\'ngMap\').directive(\'map\', [mapDirective]);\n  angular.module(\'ngMap\').directive(\'ngMap\', [mapDirective]);\n})();\n', 'message': 'Merge pull request #518 from galenmarchetti/patch-1\n\nUpdate map.js', 'author_name': 'Allen Kim', 'lang': 'js'}