ds82 / angular-contextmenu

A contextmenu for angular based apps
http://ds82.github.io/angular-contextmenu/
MIT License
48 stars 7 forks source link

angular-contextmenu

npm

Build Status [npm]() Greenkeeper badge

An angular module that utilizes bootstrap's dropdown as contextmenu

With this simple angular module you can use bootstrap dropdown menus as contextmenus on various elements (e.g. tables).

Try the DEMO or have a look at jsbin.

Why?

Yes, there are already a few angular modules which add contextmenus similar to this. But competition isn't a bad thing right?

Todos

How to use

Install via npm..

npm install angular-contextmenu

Install via bower..

bower install angular-contextmenu

or download from github.

example

You can find an example with angular v1.2 and angular v1.3 in the example folder.

dev

You can use npm to build/bundle the module:

npm install
npm run build

If you want a watcher and auto-rebuild you can use nodemon for this:

npm install -g nodaemon
nodemon --ignore dist --exec "npm run build"