如何在角度菜单中添加复选框

时间:2018-04-16 14:59:23

标签: javascript angularjs checkbox

My menu looks like this 。我有一个工作人员菜单,它指定菜单项列表。仅仅是名称。我想在菜单文本之前添加一个复选框供选择。I would like to add a checkbox in menu     非常感谢任何帮助

<pre> $scope.workerMenu = [
            {
                description: vocabulary.scope.worker.header.menu.apples,
                action: function () {
                    displayWorkerProfile();
                }
            },
            {
                description: vocabulary.scope.worker.header.menu.oranges,
                action: function () {
                    validateDeletion()
                }
            }
        ]</pre>

0 个答案:

没有答案