AngularJS-style observable scope implementation.