what is the difference between subject and behaviorsubject in angular 6?
5 Answers. A BehaviorSubject holds one value. When it is subscribed it emits the value immediately. A Subject doesn't hold a value.