Only one config for client and server.
This commit is contained in:
parent
46717e14ae
commit
a2723c6b12
8 changed files with 62 additions and 28 deletions
server/templates
6
server/templates/config.js
Normal file
6
server/templates/config.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.factory('config', function () {
|
||||
return <%= JSON.stringify(config) %>;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue