app/js/config.js
/* Service for fetching application config.
 */
Service for fetching application config.
Service for fetching application config .
function ConfigService($http) {
    this.defaults = {auth: {type: 'liteauth',
                            url: '/auth/v1.0'}};
    this.conf = $http.get('config.json');
}
function ConfigService ( $http ) { this . defaults = { auth : { type : 'liteauth' , url : '/auth/v1.0' } } ; this . conf = $http . get ( 'config.json' ) ; }
Service for fetching application config.
Service for fetching application config .