I am trying to render some SVG with AngularJS but I can't dynamically change the viewbox of the svg element.
Angular renders a 'viewbox' attribute, but browsers expect a 'viewBox' attribute. So the result is:
<svg height="151px" width="1366px" viewBox="{{ mapViewbox }}" viewbox="-183 425 1366 151">
How can I get the result I expect:
<svg height="151px" width="1366px" viewBox="-183 425 1366 151">
Thanks.