Note: In Chrome Console, instead of document.querySelector
, you can use $0
- $4
to access the last 5 DOM elements selected in the inspector window.
var fooCtrl = angular.element(document.querySelector('[ng-controller*="fooCtrl"]')).scope();
// version 4-2017.18 | |
(function dbprune() { | |
// restore page scrolling | |
var body = document.body; | |
var html = body.parentElement; | |
body.style['overflow'] = body.style['overflow-y'] = 'auto'; | |
html.style['overflow'] = html.style['overflow-y'] = 'auto'; | |
// check if this is a mobile display | |
var mHeight = 680; |
var colors = { | |
ALICEBLUE: '#F0F8FF', | |
ANTIQUEWHITE: '#FAEBD7', | |
AQUA: '#00FFFF', | |
AQUAMARINE: '#7FFFD4', | |
AZURE: '#F0FFFF', | |
BEIGE: '#F5F5DC', | |
BISQUE: '#FFE4C4', | |
BLACK: '#000000', | |
BLANCHEDALMOND: '#FFEBCD', |