Testing angular resources