« first day (1220 days earlier)      last day (2897 days later) » 

12:42
if there is one parentController with a value say $scope.model.selected = {};
and there are two child directives with isoloate scope (like scope: { selected: '=' }) .. now if I have a structure like this:

<div ng-controller="ParentCtrl">
<child list="model.list" selected="model.selected"/>
<child list="model.list" selected="model.list"/>
</div>

is it possible to get the selected values of both the child's in the parent, after it has been completed
1 message moved from JavaScript
 
2 hours later…
14:53
@rekire @TheLittleNaruto @Kanth I think we shall add @nef as RO too. He/she is very helping and highly active.
15:13
1 message moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
5 hours later…
20:12
for example, if you have an object with a getData function that uses ajax i.e.

var App = {
...
getData: function(options) {
var ajax = options.ajax || $.ajax;
ajax({url: ......});
},
...
};

you can do tests with a mock ajax function that you can send in the options parameter allowing you to do tests without bothering the server?
1 message moved from JavaScript

« first day (1220 days earlier)      last day (2897 days later) »