added ng-slider
separated dataUtils and added tests for some functions