adding  to ngressource to be sure that ngressource returns not an empty object