我在这里使用Angularjs进行前端开发我正在为dev,QA,Prod.Now生成不同的战争因为这个原因我需要外部化我的服务ip在外面所以我可以改变我的ip基于环境而不会造成多次战争。
I used ng-constant as temporary fix.
app.constant('domain','http://523.143.438.43:8080');
How can i read this service ip from outside property file. so just by changing the ip externally we can make it QA,Prod.
Thanks in Advance.