- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
api.outboxStatus = function(params){
angular.forEach($rootScope.outbox, function(outbox, i){
if( outbox._id == params.outbox._id )
$rootScope.$apply(function(){
$rootScope.outbox[i] = params.outbox;
});
});
}
// -----------
шаблон
<tr ng-repeat="item in fOutbox = (outbox | filter:filterOutbox())">
Lopata 28.05.2015 15:30 # 0