SGF controller mock to test angular resource service