I have created another solution for embedding stack overflow code in websites.
I have wrapped the API with components / directive (not all, but tell me what else you need and I will create it for you, and all the stack overflow community), this is enables you to use it like a tag in your html.
Here is a page that I made to explain it a bit more:
And here is a live sample:
In all the samples you can copy the code to your html (or even copy it to notepad and save as html), and just run it, It should work.
If not please tell me.