Refactored visualizer into a angular directive

This PR relates to issue: https://github.com/jembi/openhim-console/issues/187
The speed up and slow down doesn't seem to be working. Could this line be clearing the new value?