refactor.
updated the submodule
added $watch to copy value form the controller.