My Question Title may not be optimal but I'm having difficulties finding a good one ...
Here is what I'm trying to achieve :
Using angularjs, I want to load google recpatcha (docs) with correct language.
Basic script loads perfectly :
<script src="http://www.google.com/recaptcha/api.js" async defer></script>
But as soon as I want to add my language parameter, its fails :
<script src="http://www.google.com/recaptcha/api.js&hl={{root.$stateParams.locale}}" async defer></script>
I can figure out at runtime root.$stateParams.locale is not yet defined so I imagine I will have to load this script outside HTML's header section but here is where I get lost !
How do I load this script the angular way ?