https://github.com/wangxingkang/ng-completer
angular自动补全指令
https://github.com/wangxingkang/ng-completer
angular
Last synced: about 2 months ago
JSON representation
angular自动补全指令
- Host: GitHub
- URL: https://github.com/wangxingkang/ng-completer
- Owner: wangxingkang
- Created: 2016-11-10T12:15:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T12:02:28.000Z (over 9 years ago)
- Last Synced: 2026-03-27T23:53:05.096Z (3 months ago)
- Topics: angular
- Language: JavaScript
- Homepage: https://wangxingkang.github.io/ng-completer/
- Size: 94.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#ngCompleter
## 安装
* Bower: `bower install ngCompleter`
* 添加`ngCompleter.min.js`和`ngCompleter.css`到你的html
```
```
* 添加`ngCompleter`模块到你的ng-app模块依赖
```
angular.module('app', ['ngCompleter']);
```
## 使用教程
html
```
```
controller
```
angular
.module('app',['ngCompleter'])
.controller('IndexController', function ($scope) {
$scope.emailFormat = ['qq.com', '163.com', '126.com', 'live.com']
})
```
## Demo
请查看[Demo Page](https://wangxingkang.github.io/ng-completer/)