Make the entire directive parse options (for example, size, like it's currently done with markers) from scope variables, and also update on value changes.
For example:
<static-gmap size="mapSize" markers="markers" sensor="false" zoom="14"></static-gmap>
And in the controller:
$scope.mapSize = "640x320";