Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
47 views

Errors when using 'ControllerAs' but works fine when using '$scope' in ng-repeat checkbox

When using '$scope' syntax, checking on individual checkbox correctly outputs its corresponding object name but when applying 'ControllerAs' syntax to same code, checking on individual checkbox ...
Better Tomorrow's user avatar
1 vote
1 answer
109 views

Create a variable inside ng-repeat generated scope (using controllerAs syntax)

<tbody id="table"> <tr data-ng-repeat="consulting in consultingsVm.consultings"> <td> <a href="" class="mode mode--edit" ...
Tolledo's user avatar
  • 607
1 vote
2 answers
289 views

Refreshing ng-repeat without $scope, without new request to sever

I have a table with this content: <tbody> <tr ng-repeat="result in ctrl.result track by $index"> <td ng-bind="$index+1"></td> <td ng-bind="::result....
Elnaz's user avatar
  • 2,910
3 votes
2 answers
2k views

AngularJS expression not evaluating

I am a beginner in AngularJS and I am currently around with the basics. I am trying to create a simple menu but I have a couple of Angular expressions that aren't evaluating; {{ dish.description }} ...
mesllo's user avatar
  • 603
2 votes
3 answers
204 views

AngularJS: code not working when iterating through object [duplicate]

I am trying to populate a list of employee objects from my controller empctrl in a template. Here's the controller: app.controller('employeeController', function ($scope, employeeService) { ...
cst1992's user avatar
  • 3,948
1 vote
3 answers
110 views

Is there really no difference between AngularJS $scope and Controller as syntax?

I am learning angularJS and while learning found the controller as syntax much easier to read and a little easier for me coming from the OO world to understand. I have read several articles and SO ...
gcoleman0828's user avatar
  • 1,543
1 vote
2 answers
108 views

What is the issue with this sample code in Angular Js

I am learning angularJS. I have tried a calculator using angularJS. Two combo boxes having inputs and the other combo box is having the operations. When the user clicks the button then it has to show ...
Mani's user avatar
  • 81
2 votes
1 answer
827 views

ng-show angular tab with ng-repeat

I have been working on this for a while now and cannot figure out why it will not work. This is the effect I am trying to create- http://plnkr.co/edit/RAeIwFbn2Zoe9WfLdMX8?p=preview. I wish to have ...
Paul Fitzgerald's user avatar