edvin
05/01/2017, 7:28 PMenableWhen from the login example above might just as well accept an observable. There is no added value in accepting a function that returns an observable in this case, so I'm adding overloads for all of those. enableWhen(user.valid) makes more sense.