Is adding to the Global Namespace considered bad?


#1

Im wanting to load some modules one time rather than have to keep loading the on several view pages.

  1. If i add them to the global namespace in app.js is this considered bad practice?
  2. is it more performant to load it on each page vs 1 time on app.js?

#2

depending on how many you put in app.js, it may slowdown App start up, but according to me its the best way to include it there(app.js) as it is global.