chore(rxAttribute): fix demo example

There was a JS error on the demo page due to this example. On a side note, I need to have a grunt step check for JS errors on the demo page and fail the build if any occur. Might use phantomjs for this.