angular.toJson

Improve this Doc View Source angular.toJson

  1. function in module ng

Serializes input into a JSON-formatted string. Properties with leading $$ characters will be stripped since angular uses this notation internally.

Known Issues

The Safari browser throws a RangeE