This project is read-only.

How can i use multiple controller?


I am working on one project where i have started using angular with MVC 4.0.

During development i found that project created with this tool uses only one controller i.e. home controller.
In my situation i wanted to have one more controller and that needs to be used inside angular. I have added another controller and changed routing in angular and change code for view. When I run code I can see my view but somehow angular tries to use controller name as function show me following error:

Error: [ng:areq] Argument 'ProjectController' is not a function, got undefined
at http://localhost:4416/Scripts/angular.js:78:12
at assertArg (http://localhost:4416/Scripts/angular.js:1402:11)
at assertArgFn (http://localhost:4416/Scripts/angular.js:1412:3)
at http://localhost:4416/Scripts/angular.js:6881:9
at link (http://localhost:4416/Scripts/angular-route.js:908:26)
at nodeLinkFn (http://localhost:4416/Scripts/angular.js:6311:13)
at compositeLinkFn (http://localhost:4416/Scripts/angular.js:5722:15)
at publicLinkFn (http://localhost:4416/Scripts/angular.js:5627:30)
at boundTranscludeFn (http://localhost:4416/Scripts/angular.js:5741:21)
at controllersBoundTransclude (http://localhost:4416/Scripts/angular.js:6332:18) 
ProjectController is angular controller.