moved sentencesettings to ajax and angular
angular code now respects sentence settings