As a newcomer to the Angular framework, I encountered an issue when adding project services.
Error: Can't resolve all parameters for AnalysisComponent: ([object Object], ?, ?, [object Object], [object Object], [object Object], [object Object], [object Object]).
Using Angular version 4.0.0.
I'm struggling to understand how to fix this error.
Here's the code snippet from calendar.component.ts:
import { Component, ChangeDetectionStrategy, Inject, ViewChild, TemplateRef, OnInit } from '@angular/core';
// other imports...
export interface IEvent {
start: Date,
end: Date,
title: string,
color: { primary: string, secondary: string },
actions: CalendarEventAction[]
}
@Component({
// component details...
})
export class AnalysisComponent implements OnInit {
// properties and methods...
}