Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

How to change the number of rows using a st-template

I've created a st-template that contains specific pagination functionality. Here is mine the div that calls the st-template: <div st-pagination="" st-items-by-page="itemsPerPage" st-displayed-...
Joe's user avatar
  • 795
0 votes
1 answer
80 views

AngularJS , adding 2 extra input text boxes with id and ng-model and they are not getting submitted

I have been modifying a form which I have done many times. This time someone I cannot figure out WHY it is not sending 2 extra fields Controller vm.question = {}; Now most of the time they will ...
user avatar
0 votes
4 answers
1k views

Updating only the 'view' value using angular directive

So I have a decimal value in controller like this: // Controller var MyController = function($scope) { ... $scope.percentValue = 0.05; // can be stored ... }; <!-- View --> <...
Kimchi Man's user avatar
  • 1,171
0 votes
1 answer
2k views

AngularJS input mask with validation

I have a directive which has a mask and validation for an input control. It's basically a time input where the user can input something like 45 (45 mins) or 2.5 (2.5 hours => 150 minutes). The input ...
Sean's user avatar
  • 15.2k
0 votes
3 answers
523 views

How to access the modalInstance $scope from outside the model

I want to update some value of a $modal in AngularJS but unable to understand how I can do this. Sample code is below: var modalInstance; function setupCall(data) { var templateURL = '...
user avatar
0 votes
1 answer
54 views

AngularJS - Using Model in Controller causing Model to update

I have an Angular application where in I'm pulling from a model some data which is saved on the load of the app. For simplicity sake, I've explicitly defined the data which is being pulled. The issue ...
Gary's user avatar
  • 395
0 votes
1 answer
86 views

How do I make sure that each instance of my angular model has certain characteristics?

I have some tasks to do . I want to make sure that each task has a maximumFundPossible property of $1000 constant, a currentfund property that is variable as it will be updated as tasks are being ...
codigomonstruo's user avatar
0 votes
1 answer
1k views

Angular.js values not being saved in the scope from textbox

I have this html markup: <div data-ng-controller="VehicleProfileController"> <modal title="Add Vehicle Info" visible="showVehicleInfo"> <div class="container"> <div ...
Laziale's user avatar
  • 8,285
1 vote
0 answers
241 views

Angularjs MV* (MVW) Design Pattern Involving ES6 - AngularJS

I have read these answers by Izhaki and Artem Platonov on Understanding Design Patterns and have some questions about this approach. They might be trivial, but I need some answers. The final answer ...
Elad Israeli's user avatar
0 votes
1 answer
206 views

Not able to display number of rows in a table based on drop down or input field

I have a table with 'n' number of rows and by default i have set to display 10 rows in each page as the table is a paginated column. I am now trying to include a text box where user can enter number ...
Deepu RG's user avatar
0 votes
1 answer
2k views

calling a function from controller inside other controller

I am display a modal where if the user click on delete button I want to call delete() from controller A inside controller B I am refactoring the Todo App example code at AngularJS website (based on ...
Ahmad Saleh's user avatar
0 votes
3 answers
410 views

Update $scope collection upon closing modal

I'm having the most difficult time trying to find a way to make sure the parent scope's collection is updated with the saved information from a modal. The parent has a collection of event speakers, ...
Will Strohl's user avatar
  • 1,680
0 votes
1 answer
1k views

Highlight all inputs that where programatically changed in AngularJS

I have a form with fields that are editable by the user. Some of them, until they are $dirty (edited by the user) will update automatically with suggested values. I want to mark this change (flash ...
Daniel's user avatar
  • 349
0 votes
1 answer
52 views

Use filter with angularjs controller

I use this code to add a property in the filter when a checkbox is cheked. <input ng-model="filter['model']['first']" value="first" type="checkbox" name="model"> I tried to do this in the ...
user567's user avatar
  • 3,872
0 votes
1 answer
36 views

Why did the model Array here not update in the DOM after updating in the Controller?

http://plnkr.co/edit/7OnKAGvVNXWLwN5fZqJu?p=preview I'm setting up a question related to infinite scroll and noticed that when I update the $scope.tags array I have once the tags have been scrolled ...
Leon Gaban's user avatar
  • 39.4k

15 30 50 per page