I have a simple controller and interface set up with TypeScript.
module signup {
// define signup interface for signup home controller
interface ISignupCredentials {
firstName: string;
companyEmail: string;
password: string;
}
export class SignupCtrl implements ISignupCredentials {
static IID = "SignupCtrl";
constructor(public firstName: string,
public companyEmail: string,
public password: string) {
}
}
angular
.module("signup", [])
.controller(SignupCtrl.IID, SignupCtrl)
}
I'm getting this error:
It looks like Angular thinks these are services, but I'm not sure why. I'm missing something completely here, but I can't see what it is. Any help would be appreciated! Thanks.

export module signupor even just remove that line.