Connected bluebird's scheduler to angular's digest cycle.