json (filter)

Improve this Doc View Source json

  1. filter in module ng

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.

Usage

In HTML Template Binding

登录查看完整内容