Use attach_node function on while controller
Merge pull request #22 from jose-espinosa/while_for_attach_node

Use attach_node function on while controller