Create a BehaviorSubject named count inside notifications.service. ts and initialize it with 0, as a BehaviorSubject requires an initial value: import ...
確定! 回上一頁