
 * @attr {Number} index index of the control
 * @example
 *
 * Example:
 *  &lt;map center="41.850033,-87.6500523" zoom="3">
 *    &lt;custom-control id="home" position="TOP_LEFT" index="1">
 *      &lt;div style="background-color: white;">
 *        &lt;b>Home&lt;/b>
 *      &lt;/div>
 *    &lt;/custom-control>
 *  &lt;/map>
 *
 */
(function() {
  'use strict';
  var parser, NgMap;
  var linkFunc = function(scope, element, attrs, mapController, $transclude) {
    mapController = mapController[0]||mapContr