Created
November 10, 2014 19:09
-
-
Save faloi/c3412e167fac5812e670 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
observeOnScope $scope, "settings.parsimotionToken" | |
.filter ({newValue}) -> newValue? | |
.map ({newValue}) -> new Producteca newValue | |
.subscribe (producteca) -> | |
$scope.user = producteca.user() | |
$scope.priceLists = producteca.priceLists() | |
$scope.warehouses = producteca.warehouses() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment