refacto trying to implement tests : warning : test are broken
update angular + enhancing directive + try testing directive
working tests for directive