rem: promise.then(function (data) {  var response = { navigation: { prev: { uri: 'radio' }, list: [] } };  for (var i in data) { var ithdata = data[i]; var song = { service: 'webradio', type: 'webradio', title: ithdata.title,   icon: 'fa fa-microphone', uri: ithdata.uri };  response.navigation.list.push(song); }  defer.resolve(response);  }) 
add: .fail(function () { defer.reject(new Error("Cannot list Favourites")); }); 
context:     promise.then(function (data) {        //console.log(data);        var response = {            navigation: {                prev: {                    uri: 'radio'                },                list: []            }        };        for (var i in data) {            var ithdata = data[i];            var song = {                service: 'webradio',                type: 'webradio',                title: ithdata.title,                //artist: ithdata.artist,                //album: ithdata.album,                icon: 'fa fa-microphone',                uri: ithdata.uri            };            response.navigation.list.push(song);        }        defer.resolve(response);    })
meta: 3465	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3465/8f2f34c69301f73a7aac01293ef777b1425d3659/index.js/clean/app/plugins/music_service/webradio/index.js