usually, we have all our directives using an isolated scope. For consistency, we should do the same here.

Note that the map used in the above code would then need to be passed as configuration parameter to the isolated scope (see any ga directive using the map)