fixing slider default value for ngRepeat