Skip to main content
deleted 107 characters in body
Source Link
Sivailango
  • 564
  • 1
  • 6
  • 15

You need to change signUpCtrl.js to

angular.module('LiveAPP.controller', []) .controller('signUpCtrl', ['$scope','$http',signUpCtrl]); 

and inject LiveAPP.controller to your global module

angular.module('LiveAPP', ['ngRoute', 'LiveAPP.controller']) 

You cannot have LiveAPP in more than one module. Since angular.module('LiveAPP') isMake the setter method forsame updates on all of your controllers and inject that module, you would set at once names in global fileroutes.js

You need to change signUpCtrl.js to

angular.module('LiveAPP.controller', []) .controller('signUpCtrl', ['$scope','$http',signUpCtrl]); 

and inject LiveAPP.controller to your global module

angular.module('LiveAPP', ['ngRoute', 'LiveAPP.controller']) 

You cannot have LiveAPP in more than one module. Since angular.module('LiveAPP') is the setter method for module, you would set at once in global file.

You need to change signUpCtrl.js to

angular.module('LiveAPP.controller', []) .controller('signUpCtrl', ['$scope','$http',signUpCtrl]); 

and inject LiveAPP.controller to your global module

angular.module('LiveAPP', ['ngRoute', 'LiveAPP.controller']) 

You cannot have LiveAPP in more than one module. Make the same updates on all of your controllers and inject that module names in routes.js

Source Link
Sivailango
  • 564
  • 1
  • 6
  • 15

You need to change signUpCtrl.js to

angular.module('LiveAPP.controller', []) .controller('signUpCtrl', ['$scope','$http',signUpCtrl]); 

and inject LiveAPP.controller to your global module

angular.module('LiveAPP', ['ngRoute', 'LiveAPP.controller']) 

You cannot have LiveAPP in more than one module. Since angular.module('LiveAPP') is the setter method for module, you would set at once in global file.