make state controllers dependent scoped