add node env to window
disable angular debug mode on production only