# ace-angular

> Module to use ace editor in angular js

Latest version **0.1.1** (published 2016-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install ace-angular
pnpm add ace-angular
yarn add ace-angular
bun add ace-angular
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-09-22 |
| First published | 2016-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jayr Alencar |
| Maintainers | jayralencar |
| Keywords | ace, editor, angular |

## Links

- npm: https://www.npmjs.com/package/ace-angular
- Repository: https://github.com/jayralencar/ace-angular
- Homepage: https://github.com/jayralencar/ace-angular#readme
- Issues: https://github.com/jayralencar/ace-angular/issues
- npm.io page: https://npm.io/package/ace-angular

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.1.1 (latest) — 2016-09-22
- 0.1.0 — 2016-06-06
- 0.0.1 — 2016-06-06

## 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
<!-- Load Angular -->
<script src="node_modules/angular/angular.js"></script>
<!-- load ace -->
<script src="node_modules/ace-builds/src-min/ace.js"></script>
<!-- load ace language tools -->
<script src="node_modules/ace-builds/src-min/ext-language_tools.js"></script>
<!-- load ace-angular -->
<script src="node_modules/ace-angular/ace-angular.js"></script>
```
Create angular module
```js 
var app = angular.module('myapp',['ace.angular']);
```
Using directive
```html 
<div ace-editor="aceOptions" ng-model="aceContent"></div>
```
Controller

```js 
$scope.aceOptions = {
	method: 'sql',
	theme: 'sqlserver',
	onLoad: function(editor, session, ace){
		// do anythig
	}
}
```

---
_Source: https://npm.io/package/ace-angular · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
