Angular resource dep