Remove angualar rails resource dependency