Skip to content

AuthService Code #203

@sonalradical

Description

@sonalradical

We need Auth Service code as we are pusing using RestAngular in side AuthService. Herewith I am sharing the code to inject Restangular using constructor.

`import { Injectable } from '@angular/core';
import { Restangular } from 'ngx-restangular';

@Injectable({
providedIn: 'root'
})
export class AuthService {

constructor(private restangular: Restangular) {
}
}
`

Now I am not able to use this AuthService from addErrorInterceptor as getting Cyclic Dependancy.

Please share your auth service code if possible,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions