tree shaking support for services (#3906)

[ADF-3697] tree shaking support for services
This commit is contained in:
Denys Vuika
2018-10-22 11:09:43 +01:00
committed by Eugenio Romano
parent 368f949fc4
commit fee35c98df
77 changed files with 222 additions and 246 deletions

View File

@@ -28,7 +28,9 @@ import { map, catchError } from 'rxjs/operators';
* BPMUserService retrieve all the information of an Ecm user.
*
*/
@Injectable()
@Injectable({
providedIn: 'root'
})
export class BpmUserService {
constructor(private apiService: AlfrescoApiService,

View File

@@ -24,7 +24,9 @@ import { AlfrescoApiService } from '../../services/alfresco-api.service';
import { LogService } from '../../services/log.service';
import { EcmUserModel } from '../models/ecm-user.model';
@Injectable()
@Injectable({
providedIn: 'root'
})
export class EcmUserService {
constructor(private apiService: AlfrescoApiService,