ui.bootstrap.contextMenu icon indicating copy to clipboard operation
ui.bootstrap.contextMenu copied to clipboard

add controllerAs option, to make the context menu work with 1.5 component

Open arturoromeroslc opened this issue 8 years ago • 0 comments

Fixes bug where context menu doesn't work with 1.5 components. Bug reproduced: https://plnkr.co/edit/xvSn7Dqh2qGqhHZvWJuF?p=preview

Fix Details

Add the ability to pass in a value for controllerAs. On click pass in the correct controller bindings by checking if a user is using controllerAs.

arturoromeroslc avatar Dec 24 '16 08:12 arturoromeroslc