etBounds().getSouthWest();
    vm.map.showInfoWindow('foo', vm.ne);
  };
});
</script>
</head>

<body>
  Rectangle Event<br/>
  This example adds a user-editable rectangle to the map.
  When the user changes the bounds of the rectangle,
  an info window pops up displaying the new bounds.
  <div ng-controller="RectangleEventCtrl as vm">
    <ng-map default-style="true" zoom="9" center="44.5452, -78.5389">
      <shape name="rectangle"
        editable="true"
        draggable="true"
        bounds="[[44.490,