* @ngdoc filter * @name json * @kind function * * @description * Allows you to convert a JavaScript object into JSON string. * * This filter is mostly useful for debugging. When using the double curly {{value}} notation * the binding is automatically converted to JSON. * * @param {*}
()
| 15299 | * |
| 15300 | */ |
| 15301 | function jsonFilter() { |
| 15302 | return function(object) { |
| 15303 | return toJson(object, true); |
| 15304 | }; |
| 15305 | } |
| 15306 | |
| 15307 | |
| 15308 | /** |