Make user preferences  in Angular a service