Handling function as content providers

https://github.com/markgandolfo/el.js/issues/9