Skip to content

Commit 4c331ff

Browse files
committed
Renamed directive
1 parent d009746 commit 4c331ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ng-google-static-maps.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(function () {
77
'use strict';
88

9-
angular.module('tbc.ngGoogleStaticMap', [])
9+
angular.module('tbc.ngGoogleStaticMaps', [])
1010
.controller('StaticGoogleMapCtrl', function () {
1111
var BASE_URL = '//maps.googleapis.com/maps/api/staticmap?';
1212
var STYLE_ATTRS = ['color', 'label', 'size', 'icon'];
@@ -58,12 +58,12 @@
5858
}, '');
5959
};
6060
})
61-
.directive('staticGmap', function ($parse) {
61+
.directive('static-google-map', function ($parse) {
6262
return {
6363
template: '<img alt="Google Map">',
6464
replace: true,
6565
restrict: 'E',
66-
controller: 'StaticGoogleMapCtrl',
66+
controller: 'StaticGoogleMapsCtrl',
6767
scope: true,
6868

6969
link: function postLink(scope, elements, attrs, ctrl) {

0 commit comments

Comments
 (0)