angularjs

    -1热度

    2回答

    我是新来angularjs.I有一种形式,我有多行单选按钮和textboxes.But我无法获得单选按钮在controller.My代码的价值: HTML: <tr ng-repeat="consentinfo in listofdata" ng-disabled="abc"> <td><input type="text" class="form-control" ng-model="c

    -1热度

    1回答

    enter image description here 1.请求是抵御‘TAX_AMOUNT’列需要在要填充或不被第一列决定:'TAX_TYPE ', 例如:tax_type = 1,tax_amount可以编辑, tax_type = 2,tax_amount不能编辑。 可以用ui-grid来做这个要求吗?

    0热度

    1回答

    我试着触发“`”keyCode = 192当我按“输入”keyCode = 13。我想下面的代码,但它不工作在contenteditable div。任何想法? 以及如何$应用此? $scope.pressKey = function(event){ if(event.keyCode == 13){ event.preventDefault(); var e=angular

    0热度

    3回答

    其实我为我的拼贴项目制作了一个退房系统,它有7个人,每个人将工作8个小时,我们总共56个小时,所以系统将只允许56小时,如果有人需要额外的时间(总共3班),所以总时间将在下一班中扣除,如果总时间将为0,所有输入字段将禁用(ng禁用),我想使这通过角,但面临着一些语法问题,我的代码是 angular.module('myApp', []) .controller('myCtrl', funct

    0热度

    2回答

    我已经创建了angularjs应用程序,我在其中创建了问题模块,其中问题1-5具有相同的描述,然后问题6-7具有相同的描述,因此我将相同的描述保存到每个问题并显示他们在下一个按钮上逐一使用。现在的功能变化我想显示一个页面上,所以我使用了NG-重复现在的问题是问题描述也重复同样如此描述显示了每1-5题我JSON就像 [ { description:'xxxxxx', questi

    0热度

    1回答

    我不能使用require.js我有作为讨论here 下面是我的代码完全一样的问题使用ngResource: main.js (data-main attribute of require.js) // https://groups.google.com/forum/#!topic/angular/I6CSeG0Z2Vo require.config({ paths: {

    0热度

    1回答

    您好,我试图从AngularJs指令中返回表并将其绑定。 我的角码是: function directive($window, employeeDataServices) { var directive = { link: link, restrict: 'EA', renderOnFirstLoad: false, template: m

    1热度

    2回答

    我刚刚使用Yeoman构建了我的第一个AngularJS应用程序。我已经做到了,像这样: $ yo angular frontend 其结果是,我有一大堆标准的文件夹和文件等: - app - images - scripts app.js - styles - views index.html ... - bower_

    3热度

    1回答

    下面我附加了一些代码片段从https://semantic-ui.com/modules/dropdown.html:(多项选择) <select name="skills" multiple="" class="ui fluid dropdown"> <option value="">Skills</option> <option value="angular">Angula

    1热度

    1回答

    在我的代码中,我有两个指令。一个在控制器范围内,另一个不在html部分。 <div ng-show="isStore==true"> <packgroup-directive> </packgroup-directive> <div class="lineBreaker" ng-if="groupList.length>0"></div>