angular.router.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. 'use strict';
  2. angular.module('app').config([ '$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) {
  3. $urlRouterProvider.otherwise('/app/main');
  4. $stateProvider.state('app', {
  5. abstract : true,
  6. url : '/app',
  7. template : '<div ui-view class="fade-in-up"></div>'
  8. }).state('app.main', {
  9. url : '/main',
  10. templateUrl : 'routes/main/main.html?v=' + new Date().getTime(),
  11. resolve : {
  12. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  13. return $ocLazyLoad.load(['routes/main/main.js?v=' + new Date().getTime() ]);
  14. } ]
  15. }
  16. })
  17. .state('app.std', {
  18. abstract : true,
  19. url : '/std',
  20. template : '<div ui-view class="fade-in-up"></div>'
  21. }).state('app.std.reg', {
  22. url : '/reg',
  23. templateUrl : 'routes/std/reg/std_reg.html?v=' + new Date().getTime(),
  24. resolve : {
  25. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  26. return $ocLazyLoad.load(['routes/std/reg/std_reg.js?v=' + new Date().getTime() ]);
  27. } ]
  28. }
  29. }).state('app.std.cert', {
  30. url : '/cert',
  31. templateUrl : 'routes/std/cert/std_cert.html?v=' + new Date().getTime(),
  32. resolve : {
  33. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  34. return $ocLazyLoad.load(['routes/std/cert/std_cert.js?v=' + new Date().getTime() ]);
  35. } ]
  36. }
  37. }).state('app.std.info', {
  38. url : '/info',
  39. templateUrl : 'routes/std/info/std_info.html?v=' + new Date().getTime(),
  40. resolve : {
  41. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  42. return $ocLazyLoad.load(['routes/std/info/std_info.js?v=' + new Date().getTime() ]);
  43. } ]
  44. }
  45. }).state('app.std.material', {
  46. url : '/material',
  47. templateUrl : 'routes/std/material/std_material.html?v=' + new Date().getTime(),
  48. resolve : {
  49. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  50. return $ocLazyLoad.load(['routes/std/material/std_material.js?v=' + new Date().getTime() ]);
  51. } ]
  52. }
  53. }).state('app.std.material_info', {
  54. url : '/material_info/:material_id',
  55. templateUrl : 'routes/std/material/std_material_info.html?v=' + new Date().getTime(),
  56. resolve : {
  57. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  58. return $ocLazyLoad.load(['routes/std/material/std_material_info.js?v=' + new Date().getTime() ]);
  59. } ]
  60. }
  61. }).state('app.std.binding', {
  62. url : '/binding',
  63. templateUrl : 'routes/std/binding/std_binding.html?v=' + new Date().getTime(),
  64. resolve : {
  65. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  66. return $ocLazyLoad.load(['routes/std/binding/std_binding.js?v=' + new Date().getTime() ]);
  67. } ]
  68. }
  69. }).state('app.std.unbinding', {
  70. url : '/unbinding',
  71. templateUrl : 'routes/std/unbinding/std_unbinding.html?v=' + new Date().getTime(),
  72. resolve : {
  73. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  74. return $ocLazyLoad.load(['routes/std/unbinding/std_unbinding.js?v=' + new Date().getTime() ]);
  75. } ]
  76. }
  77. }).state('app.std.admit', {
  78. url : '/admit',
  79. templateUrl : 'routes/std/admit/std_admit.html?v=' + new Date().getTime(),
  80. resolve : {
  81. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  82. return $ocLazyLoad.load(['routes/std/admit/std_admit.js?v=' + new Date().getTime() ]);
  83. } ]
  84. }
  85. })
  86. .state('app.enrol', {
  87. abstract : true,
  88. url : '/enrol',
  89. template : '<div ui-view class="fade-in-up"></div>'
  90. }).state('app.enrol.guide', {
  91. url : '/guide',
  92. templateUrl : 'routes/enrol/guide/enrol_guide.html?v=' + new Date().getTime(),
  93. resolve : {
  94. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  95. return $ocLazyLoad.load(['routes/enrol/guide/enrol_guide.js?v=' + new Date().getTime() ]);
  96. } ]
  97. }
  98. }).state('app.enrol.list', {
  99. url : '/list',
  100. templateUrl : 'routes/enrol/list/enrol_list.html?v=' + new Date().getTime(),
  101. resolve : {
  102. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  103. return $ocLazyLoad.load(['routes/enrol/list/enrol_list.js?v=' + new Date().getTime() ]);
  104. } ]
  105. }
  106. }).state('app.enrol.info', {
  107. url : '/info/:enrol_id/:autopay',
  108. templateUrl : 'routes/enrol/info/enrol_info.html?v=' + new Date().getTime(),
  109. resolve : {
  110. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  111. return $ocLazyLoad.load(['routes/enrol/info/enrol_info.js?v=' + new Date().getTime() ]);
  112. } ]
  113. }
  114. }).state('app.enrol.doc', {
  115. url : '/doc/:enrol_id',
  116. templateUrl : 'routes/enrol/doc/enrol_doc.html?v=' + new Date().getTime(),
  117. resolve : {
  118. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  119. return $ocLazyLoad.load(['routes/enrol/doc/enrol_doc.js?v=' + new Date().getTime() ]);
  120. } ]
  121. }
  122. }).state('app.enrol.ems', {
  123. url : '/ems/:enrol_id/:autopay',
  124. templateUrl : 'routes/enrol/ems/ems_info.html?v=' + new Date().getTime(),
  125. resolve : {
  126. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  127. return $ocLazyLoad.load(['routes/enrol/ems/ems_info.js?v=' + new Date().getTime() ]);
  128. } ]
  129. }
  130. }).state('app.appointment', {
  131. abstract : true,
  132. url : '/appointment',
  133. template : '<div ui-view class="fade-in-up"></div>'
  134. }).state('app.appointment.list', {
  135. url : '/list',
  136. templateUrl : 'routes/appointment/list/appointment_list.html?v=' + new Date().getTime(),
  137. resolve : {
  138. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  139. return $ocLazyLoad.load(['routes/appointment/list/appointment_list.js?v=' + new Date().getTime() ]);
  140. } ]
  141. }
  142. }).state('app.appointment.info', {
  143. url : '/info/:agent_id',
  144. templateUrl : 'routes/appointment/info/appointment_info.html?v=' + new Date().getTime(),
  145. resolve : {
  146. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  147. return $ocLazyLoad.load(['routes/appointment/info/appointment_info.js?v=' + new Date().getTime() ]);
  148. } ]
  149. }
  150. })
  151. .state('app.ticket', {
  152. abstract : true,
  153. url : '/ticket',
  154. template : '<div ui-view class="fade-in-up"></div>'
  155. }).state('app.ticket.list', {
  156. url : '/list',
  157. templateUrl : 'routes/ticket/list/ticket_list.html?v=' + new Date().getTime(),
  158. resolve : {
  159. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  160. return $ocLazyLoad.load(['routes/ticket/list/ticket_list.js?v=' + new Date().getTime() ]);
  161. } ]
  162. }
  163. }).state('app.ticket.info', {
  164. url : '/info/:ly_ticket_id',
  165. templateUrl : 'routes/ticket/info/ticket_info.html?v=' + new Date().getTime(),
  166. resolve : {
  167. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  168. return $ocLazyLoad.load(['routes/ticket/info/ticket_info.js?v=' + new Date().getTime() ]);
  169. } ]
  170. }
  171. }).state('app.ticket.guide', {
  172. url : '/guide/:ly_agent_id',
  173. templateUrl : 'routes/ticket/guide/agent_guide.html?v=' + new Date().getTime(),
  174. resolve : {
  175. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  176. return $ocLazyLoad.load(['routes/ticket/guide/agent_guide.js?v=' + new Date().getTime() ]);
  177. } ]
  178. }
  179. })
  180. .state('app.exam', {
  181. abstract : true,
  182. url : '/exam',
  183. template : '<div ui-view class="fade-in-up"></div>'
  184. })
  185. .state('app.exam.voide', {
  186. url : '/voide/:enrol_id/:read',
  187. templateUrl : 'routes/voide/exam/exam.html?v=' + new Date().getTime(),
  188. resolve : {
  189. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  190. return $ocLazyLoad.load(['routes/voide/exam/exam.js?v=' + new Date().getTime() ]);
  191. } ]
  192. }
  193. })
  194. .state('app.exam.result', {
  195. url : '/result/:enrol_id',
  196. templateUrl : 'routes/voide/result/result.html?v=' + new Date().getTime(),
  197. resolve : {
  198. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  199. return $ocLazyLoad.load(['routes/voide/result/result.js?v=' + new Date().getTime() ]);
  200. } ]
  201. }
  202. })
  203. .state('app.exam.upload', {
  204. url : '/upload/:enrol_id',
  205. templateUrl : 'routes/voide/upload/upload.html?v=' + new Date().getTime(),
  206. resolve : {
  207. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  208. return $ocLazyLoad.load(['routes/voide/upload/upload.js?v=' + new Date().getTime() ]);
  209. } ]
  210. }
  211. })
  212. .state('app.exam.list', {
  213. url : '/list',
  214. templateUrl : 'routes/exam/list/list.html?v=' + new Date().getTime(),
  215. resolve : {
  216. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  217. return $ocLazyLoad.load(['routes/exam/list/list.js?v=' + new Date().getTime() ]);
  218. } ]
  219. }
  220. })
  221. .state('app.exam.checkin', {
  222. url : '/checkin/:agent_id/:aspect_id',
  223. templateUrl : 'routes/exam/checkin/checkin.html?v=' + new Date().getTime(),
  224. resolve : {
  225. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  226. return $ocLazyLoad.load(['routes/exam/checkin/checkin.js?v=' + new Date().getTime() ]);
  227. } ]
  228. }
  229. })
  230. .state('app.judge', {
  231. url : '/judge',
  232. templateUrl : 'routes/judge/judge.html?v=' + new Date().getTime(),
  233. resolve : {
  234. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  235. return $ocLazyLoad.load(['routes/judge/judge.js?v=' + new Date().getTime() ]);
  236. } ]
  237. }
  238. })
  239. .state('app.exam.wait', {
  240. url : '/wait/:agent_id/:aspect_id',
  241. templateUrl : 'routes/exam/wait/wait.html?v=' + new Date().getTime(),
  242. resolve : {
  243. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  244. return $ocLazyLoad.load(['routes/exam/wait/wait.js?v=' + new Date().getTime() ]);
  245. } ]
  246. }
  247. })
  248. .state('app.ym', {
  249. abstract : true,
  250. url : '/ym',
  251. template : '<div ui-view class="fade-in-up"></div>'
  252. }).state('app.ym.addr', {
  253. url : '/addr',
  254. templateUrl : 'routes/ym/addr/ym_addr.html?v=' + new Date().getTime(),
  255. resolve : {
  256. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  257. return $ocLazyLoad.load(['routes/ym/addr/ym_addr.js?v=' + new Date().getTime() ]);
  258. } ]
  259. }
  260. }).state('app.ym.mobile', {
  261. url : '/mobile',
  262. templateUrl : 'routes/ym/mobile/ym_mobile.html?v=' + new Date().getTime(),
  263. resolve : {
  264. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  265. return $ocLazyLoad.load(['routes/ym/mobile/ym_mobile.js?v=' + new Date().getTime() ]);
  266. } ]
  267. }
  268. }).state('app.ym.aspect_list', {
  269. url : '/aspect_list',
  270. templateUrl : 'routes/ym/list/ym_aspect_list.html?v=' + new Date().getTime(),
  271. resolve : {
  272. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  273. return $ocLazyLoad.load(['routes/ym/list/ym_aspect_list.js?v=' + new Date().getTime() ]);
  274. } ]
  275. }
  276. }).state('app.ym.std_admis', {
  277. url : '/std_admis',
  278. templateUrl : 'routes/ym/admis/std_admis.html?v=' + new Date().getTime(),
  279. resolve : {
  280. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  281. return $ocLazyLoad.load(['routes/ym/admis/std_admis.js?v=' + new Date().getTime() ]);
  282. } ]
  283. }
  284. }).state('app.ym.aspect_info', {
  285. url : '/aspect_info/:enrol_id',
  286. templateUrl : 'routes/ym/info/ym_aspect_info.html?v=' + new Date().getTime(),
  287. resolve : {
  288. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  289. return $ocLazyLoad.load(['routes/ym/info/ym_aspect_info.js?v=' + new Date().getTime() ]);
  290. } ]
  291. }
  292. }).state('app.ym.score', {
  293. url : '/score/:aspect_name/:batch',
  294. templateUrl : 'routes/ym/score/ym_score.html?v=' + new Date().getTime(),
  295. resolve : {
  296. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  297. return $ocLazyLoad.load(['routes/ym/score/ym_score.js?v=' + new Date().getTime() ]);
  298. } ]
  299. }
  300. }).state('app.ym.image', {
  301. url : '/image/:aspect_name',
  302. templateUrl : 'routes/ym/image/ym_image.html?v=' + new Date().getTime(),
  303. resolve : {
  304. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  305. return $ocLazyLoad.load(['routes/ym/image/ym_image.js?v=' + new Date().getTime() ]);
  306. } ]
  307. }
  308. }).state('app.ym.batch', {
  309. url : '/batch',
  310. templateUrl : 'routes/score/ym/score_ym.html?v=' + new Date().getTime(),
  311. resolve : {
  312. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  313. return $ocLazyLoad.load(['routes/score/ym/score_ym.js?v=' + new Date().getTime() ]);
  314. } ]
  315. }
  316. })
  317. .state('app.reexam', {
  318. abstract : true,
  319. url : '/reexam',
  320. template : '<div ui-view class="fade-in-up"></div>'
  321. }).state('app.reexam.list', {
  322. url : '/list',
  323. templateUrl : 'routes/reexam/list/reexam_list.html?v=' + new Date().getTime(),
  324. resolve : {
  325. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  326. return $ocLazyLoad.load(['routes/reexam/list/reexam_list.js?v=' + new Date().getTime() ]);
  327. } ]
  328. }
  329. }).state('app.reexam.info', {
  330. url : '/info/:enrol_id',
  331. templateUrl : 'routes/reexam/info/reexam_info.html?v=' + new Date().getTime(),
  332. resolve : {
  333. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  334. return $ocLazyLoad.load(['routes/reexam/info/reexam_info.js?v=' + new Date().getTime() ]);
  335. } ]
  336. }
  337. }).state('app.std.wybinding', {
  338. url : '/wybinding',
  339. templateUrl : 'routes/std/wyBinding/wy_std_binding.html?v=' + new Date().getTime(),
  340. resolve : {
  341. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  342. return $ocLazyLoad.load(['routes/std/wyBinding/wy_std_binding.js?v=' + new Date().getTime() ]);
  343. } ]
  344. }
  345. }).state('app.std.notice', {
  346. url : '/notice',
  347. templateUrl : 'routes/std/notice/std_notice.html?v=' + new Date().getTime(),
  348. resolve : {
  349. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  350. return $ocLazyLoad.load(['routes/std/notice/std_notice.js?v=' + new Date().getTime() ]);
  351. } ]
  352. }
  353. }).state('app.reexam.search', {
  354. url : '/search',
  355. templateUrl : 'routes/reexam/search/search_info.html?v=' + new Date().getTime(),
  356. resolve : {
  357. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  358. return $ocLazyLoad.load(['routes/reexam/search/search_info.js?v=' + new Date().getTime() ]);
  359. } ]
  360. }
  361. }).state('app.zxappointment', {
  362. abstract : true,
  363. url : '/zxappointment',
  364. template : '<div ui-view class="fade-in-up"></div>'
  365. }).state('app.zxappointment.list', {
  366. url : '/list',
  367. templateUrl : 'routes/zxappointment/list/zx_appointment_list.html?v=' + new Date().getTime(),
  368. resolve : {
  369. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  370. return $ocLazyLoad.load(['routes/zxappointment/list/zx_appointment_list.js?v=' + new Date().getTime() ]);
  371. } ]
  372. }
  373. }).state('app.zxappointment.info', {
  374. url : '/info/:enrol_id/:aspect_id',
  375. templateUrl : 'routes/zxappointment/info/zx_appointment_info.html?v=' + new Date().getTime(),
  376. resolve : {
  377. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  378. return $ocLazyLoad.load(['routes/zxappointment/info/zx_appointment_info.js?v=' + new Date().getTime() ]);
  379. } ]
  380. }
  381. }).state('app.zxnotice', {
  382. abstract : true,
  383. url : '/zxnotice',
  384. template : '<div ui-view class="fade-in-up"></div>'
  385. }).state('app.zxnotice.info', {
  386. url : '/info/:flag',
  387. templateUrl : 'routes/score/notice/notice_info.html?v=' + new Date().getTime(),
  388. resolve : {
  389. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  390. return $ocLazyLoad.load(['routes/zxappointment/notice/notice_info.js?v=' + new Date().getTime() ]);
  391. } ]
  392. }
  393. }).state('app.score', {
  394. abstract : true,
  395. url : '/score',
  396. template : '<div ui-view class="fade-in-up"></div>'
  397. }).state('app.score.list', {
  398. url : '/list',
  399. templateUrl : 'routes/score/list/score_list.html?v=' + new Date().getTime(),
  400. resolve : {
  401. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  402. return $ocLazyLoad.load(['routes/score/list/score_list.js?v=' + new Date().getTime() ]);
  403. } ]
  404. }
  405. }).state('app.score.info', {
  406. url : '/info/:aspect_id',
  407. templateUrl : 'routes/score/info/score_info.html?v=' + new Date().getTime(),
  408. resolve : {
  409. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  410. return $ocLazyLoad.load(['routes/score/info/score_info.js?v=' + new Date().getTime() ]);
  411. } ]
  412. }
  413. }).state('app.score.xylist', {
  414. url : '/xylist',
  415. templateUrl : 'routes/score/list/score_list_xy.html?v=' + new Date().getTime(),
  416. resolve : {
  417. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  418. return $ocLazyLoad.load(['routes/score/list/score_list_xy.js?v=' + new Date().getTime() ]);
  419. } ]
  420. }
  421. }).state('app.cyfz', {
  422. abstract : true,
  423. url : '/cyfz',
  424. template : '<div ui-view class="fade-in-up"></div>'
  425. }).state('app.cyfz.lq', {
  426. url : '/lq',
  427. templateUrl : 'routes/score/cyfz/cyfz_lq_list.html?v=' + new Date().getTime(),
  428. resolve : {
  429. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  430. return $ocLazyLoad.load(['routes/score/cyfz/cyfz_lq_list.js?v=' + new Date().getTime() ]);
  431. } ]
  432. }
  433. }).state('app.zxappoint', {
  434. abstract : true,
  435. url : '/zxappoint',
  436. template : '<div ui-view class="fade-in-up"></div>'
  437. }).state('app.zxappoint.list', {
  438. url : '/list',
  439. templateUrl : 'routes/zxappoint/list/zx_appoint_list.html?v=' + new Date().getTime(),
  440. resolve : {
  441. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  442. return $ocLazyLoad.load(['routes/zxappoint/list/zx_appoint_list.js?v=' + new Date().getTime() ]);
  443. } ]
  444. }
  445. }).state('app.zxappoint.info', {
  446. url : '/info/:enrol_id/:aspect_id',
  447. templateUrl : 'routes/zxappoint/info/zx_appoint_info.html?v=' + new Date().getTime(),
  448. resolve : {
  449. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  450. return $ocLazyLoad.load(['routes/zxappoint/info/zx_appoint_info.js?v=' + new Date().getTime() ]);
  451. } ]
  452. }
  453. }).state('app.wish', {
  454. abstract : true,
  455. url : '/wish',
  456. template : '<div ui-view class="fade-in-up"></div>'
  457. }).state('app.wish.std', {
  458. url : '/std/:aspect_id',
  459. templateUrl : 'routes/std/wish/std_wish.html?v=' + new Date().getTime(),
  460. resolve : {
  461. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  462. return $ocLazyLoad.load(['routes/std/wish/std_wish.js?v=' + new Date().getTime() ]);
  463. } ]
  464. }
  465. }).state('app.variety', {
  466. abstract : true,
  467. url : '/variety',
  468. template : '<div ui-view class="fade-in-up"></div>'
  469. }).state('app.variety.choose', {
  470. url : '/choose/:enrol_id/:enrol_flag',
  471. templateUrl : 'routes/enrol/variety/choose_variety.html?v=' + new Date().getTime(),
  472. resolve : {
  473. deps : [ '$ocLazyLoad', function($ocLazyLoad) {
  474. return $ocLazyLoad.load(['routes/enrol/variety/choose_variety.js?v=' + new Date().getTime() ]);
  475. } ]
  476. }
  477. })
  478. } ]);