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