adding angular resource
adding dependencie resource and require mocks