respond
respond copied to clipboard
<title> tag of app should use value of BRAND in .env
In the front-end app, the page title is hard-coded as Respond. This should be changed to use the value of the BRAND parameter in .env.
From what I can tell, there are two ways to accomplish this. One is to change it dynamically in Angular. I am concerned that it might briefly flash the old title before it's replaced. The other option is to set it once during the Gulp build process.
Thoughts on the best approach? I can try to do it, as it'd be a good opportunity to learn more about Angular and/or Gulp.
I want to say that Angular 4 beta supports title bindings. If so, that is the way to go. I really don't want to add any more gulp dependencies as the long term the goal is to get the Respond app to build using the Angular CLI.
Thanks. I will dig into this soon and see if I can figure out how to do it with Angular. It seems like a good way for me to get my toes wet in that environment.