Last active
February 15, 2017 20:39
Star
You must be signed in to star a gist
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
// Test Android intent from command line | |
#adb shell am start -W -a android.intent.action.VIEW -d "http://domain.blah/" com.somedomain.appname | |
// Need to remember to pass a expression (fn) the watch or a full string path | |
vm.$onInit = function() { | |
$scope.$watch("$paymentInfoCtrl.cardModel.cardNumber", function(newValue, oldValue) { | |
console.log('oldValue: ' + oldValue + 'newValue: ' + newValue); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment