code: function(scope, addMethod, removeMethod, updateMethod) {
          scope.$on('registerChild', function(evt, isolate) {
            if (evt.targetScope.$id !== scope.$id) {
              //add reference to parent isolate
              var parentIsolate = $famous.getIsolate(scope);
              isolate.$parent = parentIsolate;
  
              parentIsolate.$children = parentIsolate.$children || [];
              parentIsolate.$children.push(isolate);
  
              addMethod(isolate);
              evt.stopPropagation();
  
              // Attach the remove method to the isolate, so it can be invoked without scope, if it is provided
              if(removeMethod) isolate.removeMethod = removeMethod;
              if(updateMethod) isolate.updateMethod = updateMethod;
            }
          });
        }
docs: @ngdoc method
  @name $famousDecorator#sequenceWith
  @module famous.angular
  @description
  Attach a listener for `registerChild` events.
  
  @param {String} scope - the scope to listen on
  @param {Object} addMethod - the method to apply to the incoming isolate's content to add it
  to the sequence
  @param {Object} removeMethod - the method to apply to the incoming isolate's ID to remove it
  from the sequence
  @returns {void}