code: function buildChips(str) {
      var container;
  
      inject(function($compile, $timeout) {
        container = $compile(str)(scope);
        container.scope().$apply();
        $timeout.flush();
      });
  
      attachedElements.push(container);
  
      return container;
    }
docs: ******************************* Internal helper methods *******************************