Change from '$.foo' to 'this.$.foo' in observeblock 

Missing `this` keyword