Remove global variables. Use angular constant module.