foo.html:
You need to register your new custom elements with a call to Polymer().
Polymer()
Also, as already stated in comments, your custom elements need to contain an hypen. For example: and .
bar.html:
bar open bar closed
demo.html:
... hello