adaliabooks: angular.element(document.querySelectorAll('.hide-on-pinata-finished')).scope().pinata._pinataPro ducts._availab lePiniataId;
The-Business: angular.element(document.querySelectorAll('.hide-on-pinata-finished')) returns the object <button.header__button.btn.btn--green.btn--tall.hide-on-pinata-finished>
But calling .scope() on it returns undefined.
Damn, need to turn off debug first.. I forgot.
You need to run:
angular.reloadWithDebugInfo()
First and let the page reload and then it should work.
If you have my fundamentals script on you shouldn't need to do that though..