/object-editor

AngularJS directive for viewing and editing a javascript object

Primary LanguageCSSMIT LicenseMIT

License

object-editor

a simple AngularJS directive for viewing and editing a javascript object

object-editor is useful for debugging an object in the scope

try the demo

How to use

Installation

use bower or download the zip

bower install object-editor

Include the following files in your project:

  • object-editor.js
  • object-editor.css

Inject to your angular app

angular.module('my-app', ['objectEditor']);

Use inside a view or template

<object-editor object='someObjectInYourScope'></object-editor>