Skip to content

Instantly share code, notes, and snippets.

@wilsolutions
Last active February 15, 2017 20:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save wilsolutions/ce9b852a56994b903ffa742b9d17be0a to your computer and use it in GitHub Desktop.
// 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