src/components/panel/panel.spec.js
function attachToBody(el) {
    var element = angular.element(el);
    angular.element(document.body).append(element);
    attachedElements.push(element);
  }
function attachToBody(el) {
    var element = angular.element(el);
    angular.element(document.body).append(element);
    attachedElements.push(element);
  }
function attachToBody ( el ) { var element = angular . element ( el ) ; angular . element ( document . body ) . append ( element ) ; attachedElements . push ( element ) ; }
Attached an element to document.body. Keeps track of attached elements
so that they can be removed in an afterEach.
@param el
Attached an element to document . body . Keeps track of attached elements so that they can be removed in an afterEach .