Hi Arlo,

This will work. There is no technical reason to change what you have now. 
For myself, I would create a setTimezone method in the timezone-service 
instead of just exposing a property. That way, you can validate your input, 
and it's more clear in your code are 'setting' something.. For the same 
reason, I would use a getTimezone() method to fetch it in the tzFormat 
pipe. Also, it would be more clear to an maintainer what is happening.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to