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
setTimeout(() => { | |
libScope(angular.element('html').scope()); | |
}, 1000); | |
function libScope(scope) { | |
// Watch results feed for changes... | |
scope.$watchCollection('feed', () => { | |
// give AngularJS time to update the DOM | |
// Probably need to wait a few seconds before running this to make sure the DOM loads | |
setTimeout(function() { |