Controller is not registered error after adding ngRoute `.config`
问题 Controller is not recognizing - AngularJS error I've a controller defined in controllerPloyee.js called controllerPloyee which was working before i added the ngRoute and made to route. The error that shows is angular.min.js:127 Error: [$controller:ctrlreg] http://errors.angularjs.org/1.7.8/$controller/ctrlreg?p0=controllerPloyee I've checked the documentation and another questions with the same error, but doesn't help. Index.html <html ng-app="ployee"> <head> <!--Angular--> <script src="lib