Posted December 02, 2015
adaliabooks: angular.element(document.querySelectorAll('.hide-on-pinata-finished')).scope().pinata._pinataPro ducts._availab lePiniataId;
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.