console.log(_.find(response.data, function(item) { return item.TaskCategory.TaskCategoryId == $routeParams.TaskCategory; }));