allow an observable() function as an element
example updated for using an observable
updated the example to use an observable
1.1.0