Skip to main content

All Questions

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

How to refresh data in angularjs kendo-multi-select

I am new to angularjs. i am using kendo multiselect i am adding data by default when loading the view. and i have one save button when click that button i am calling Success method inside that method. ...
Srinivas Ch's user avatar
  • 1,256
0 votes
3 answers
858 views

angularjs not updating model value

In my example I want to update model when user focus the textfield. In short append 'px' string to the existing value. HTML: <div ng-app> <div ng-controller="PixelCtrl"> <div> ...
Ashwin's user avatar
  • 12.5k
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
1 vote
0 answers
459 views

What is the difference between scope and model within a directive definition in AngularJS

I was wondering about the difference between scope and model within a directive. The following 2 directives behave exactly the same: angular.module( 'exampleApp', [] ) .directive( 'exampleDirective1'...
lumio's user avatar
  • 7,595
1 vote
1 answer
3k views

passing value from parent directive to child directive's template function

I'm trying to access value that is passed from the parent's directive on the child directive's template function. Please refer to the below plunker. Plunker Link CODE: Parent Directive: directive(...
Teja's user avatar
  • 133
1 vote
1 answer
55 views

AngularJS mantain state when changing views?

Is there a way to maintain $scope when changing views and coming back? When i load a certain view there is some heavy loading (loading data), but if i switch views and comeback to this one al the ...
user3452075's user avatar
0 votes
0 answers
123 views

Angular nested directives scope not shared

I have my input directive which takes the input value from html, and updates the angular model: .directive('input', function($parse) { return { restrict: 'E', require: '?ngModel', link: ...
Kim T's user avatar
  • 6,552
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
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
1 answer
70 views

Angularjs update model partially in input value

i've a strange behaviour with a model. $scope.ev = temp; <input type="text" class="form-control" id="inputDataFineEv" ng-model="ev.dataOraFineEvento" placeholder="Data fine" value="{{ev....
amagtra's user avatar
  • 45
0 votes
3 answers
39 views

Filter a model when there is pagination

My situation right now is that I have a model that loads like 50 car informations. In the view I have a sidebar with some filters like, year, model, mileage, etc.. When I filter those, everything ...
Fernando Claussen's user avatar
0 votes
1 answer
2k views

Watch a custom directives inner html in angular

I have a global search variable that is used by the whole app newspaper.controller("MainController", function($scope) { $scope.search = {query:''}; }); Then I have a contenteditable div that I ...
BathgateIO's user avatar
1 vote
2 answers
491 views

Angularjs model not updated when switching between users at login

I need the following functionality: When a user goes to the login form, the browser should auto fill the username and password. My implementation works (on FF and Chrome) but, there is this bug (not ...
Ioana Cucuruzan's user avatar
1 vote
2 answers
3k views

Changing value of an input date picker with button angular

I have have an input field which is attached an Angular UI datepicker. Below that, I added 2 buttons to change date, "day by day". Here is the input part (just after in my page): <p class="input-...
Pierolain's user avatar
  • 189
0 votes
2 answers
684 views

Correct approach for angularjs modal transferring data to outer controller?

Im wondering what is the correct approach about software design & best practice for angularjs modals. In my application I have the main window which is using its own controller, and there I have a ...
buddy123's user avatar
  • 6,397

15 30 50 per page