What Angular's .equals and .toJson are for

Why did Angular implement its own angular.toJson() over JSON.stringify()? Why isn’t angular.eqauls() always the same as other equality utilities, like lodash’s _.isEqual()? I faced these questions when I first started doing Angular. Knowing the difference has helped understand Angular a better.