edvin
10/02/2018, 6:17 AMeditPerson just creates one instance of PersonModel and inserts the person passed in into the model. Then it creates a new scope and puts the personmodel into that scope. Then an instance of PersonEditor is located within the newly created scope. That means that the PersonEditor instance can now inject PersonModel and it will get the instance that was set into it's scope.