If you put your template into a partial and then use `templateUrl` instead of `template`, it should work.

I don't understand why, but I tried and it worked. This has to be some quirks from angular related to required controllers...