That is the easiest to implement solution available yes. However, if the data in your environments isn't sensitive, you can serialize it, and dynamically pick one depending on domain name.
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 angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/f85246c2-241f-40a8-9da0-2eb6d7202206o%40googlegroups.com.