add angular resource as a dependency
basic structure (pass options to directive)
include angular mocks for api mocking