You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 {
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,
The text was updated successfully, but these errors were encountered: