Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Access a variable within the console
var $scope = angular.element($0).scope();
$scope.$apply(function () {
// SET VARIABLE HERE
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment