save the floorplan object to the angular scope