angular-contextmenu
angular-contextmenu copied to clipboard
Using ng-include with the context menu template.
Hello, as the title suggests I tried to include the template from another html file but I receive the following stacktrace :
TypeError: contextMenuCtrl.open is not a function
at contextmenu.js:74
at Scope.$eval (angular.js:16384)
at Scope.$apply (angular.js:16484)
at Scope.scopePrototype.$apply (hint.js:1427)
at HTMLTableRowElement.<anonymous> (contextmenu.js:73)
at HTMLTableRowElement.dispatch (jquery-1.10.4.js:4435)
at HTMLTableRowElement.elemData.handle (jquery-1.10.4.js:4121)
My ng-include :
<div ng-include="'partials/contextmenu.html'"></div>