angularjs-json-object-editor
v0.1.6
Published
Module to edit Javascript Objects (AngularJS/ Angular 1)
Downloads
8
Maintainers
Readme
A JSON object editor for AngularJS
Module to edit Javascript Objects (AngularJS/ Angular 1)
Installation
npm i -S angularjs-json-object-editor
Usage
Include in your project
import { moduleName as objectEditor } from 'angularjs-json-object-editor';
Include styles (in your sass file)
@import 'angularjs-json-object-editor';
(or on your .js file)
import 'angularjs-json-object-editor/index.scss';
Add to the dependencies of your angular app
angular.module('myApp', [objectEditor]);
Use your directive
<object-editor object="$scope.myObject"></object-editor>