Added new function binding to angular-slider. Moved plotting functionality to a mapservice to keep selectionCtrl lean