Add sample code for assets resource loading in documentation website. Re...

...solve #332. As discussed.