Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.2 KB

angular-json-editor

Directive to render an editor to edit the fields of any JSON object. The editor does not allow yet to change the schema (add or remove attributes) but just to edit the exsiting values

##Usage

Note that content object is a json object added to the scope

Requirements

##Installation Add to your project angular-json-editor source.

<link rel="stylesheet" href="./SOURCE_TO_LIB/angular-json-editor.css"/>
<script type="text/javascript" src="./SOURCE_TO_LIB/angular-json-editor.min.js"></script>

Include the json-editor directives as a dependency on your angular module

angular.module("myapp", ["angularJsonEditor"]);

Add ##Demo

Checkout source code, update dependencies and run the app

git clone https://github.com/carolineBda/angular-json-editor 
cd angular-json-editor 
bower install
npm start

Then browse http://localhost:8000/demo/index.html