Got spies working for angular controller