Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Error: [$compile:ctreq] Controller 'ngSwitch', required by directive 'ngSwitchWhen', can't be found! #3661

Closed
@pheuter

Description

@pheuter

Tried upgrading angular from 1.1.5 to 1.2.0rc1. Now, I'm getting the following error:

Error: [$compile:ctreq] Controller 'ngSwitch', required by directive 'ngSwitchWhen', can't be found!

It seems weird to me because ngSwitch is a core directive. Anyone else seeing this?

Looks like Angular has some docs on this error, but this particular directive is not a custom one that I implemented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions