Changed the way that the TrialSettingsManager into an Angular service to ensure that it is a singleton

Code review : Cyrus Venn Casada