ace-angular

Module to use ace editor in angular js

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ace-angular
020.1.16 years ago6 years agoMinified + gzip package size for ace-angular in KB

Readme

ace-angular
Using Ace Editor in AngularJS

Requeriments

  • AngularJS: npm install angular
  • Ace Builds: npm install ace-builds

Install

``` npm install ace-angular ```

Usage

```html ``` Create angular module ```js var app = angular.module('myapp','ace.angular'); ``` Using directive ```html
``` Controller ```js $scope.aceOptions = {
method: 'sql',
theme: 'sqlserver',
onLoad: function(editor, session, ace){
// do anythig
}
} ```