阅读背景:

设置$ rootScope但是从另一个控制器看不到值

来源:互联网 

My application requires candidates to be set up with an agency and nationality (among other things). I want to set the list of agencies and nationalities in global variables so that they can be accessed by the profile screen rather than retrieved from the database every time (as they are currently). Thanks to the other questions here I've got so far... but a crucial puzzle piece is clearly missing. The data is being retrieved from the DB but then isn't visible elsewhere.My application requires candidates to be set up




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: