parent and child directive experiment