Use $injector  to bypass circular dependency