Reactive-Extensions/rx.angular.js

ControllerAs Syntax

Closed this issue · 0 comments

I'm experimenting with angular-rx using Angular 1.3 and ControllerAs syntax. Unless I inject $scope, I cant seem to get ahold of $createObservableFunction, just get an error saying undefined is not a function. Do I have to inject $scope or is there a way to make it work with the "var vm = this" ControllerAs syntax? Do you have any examples using the ControllerAs syntax?