Advertisement
mustyumr

signup error

Aug 24th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:
  2. Error: [$injector:modulerr] Failed to instantiate module starter.SignupCtrl due to:
  3. Error: [$injector:nomod] Module 'starter.SignupCtrl' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
  4. http://errors.angularjs.org/1.3.13/$injector/nomod?p0=starter.SignupCtrl
  5.  
  6. *****************************************************************************
  7. the top of signup.html>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  8.  
  9. <ion-pane class="page page-login" ng-controller="SignupCtrl">
  10.      <ion-nav-bar class="bar-stable nav-bar bar-transparent">
  11.             <ion-nav-buttons side="left">
  12.  
  13. ***************************************************************************
  14. signup.js>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  15.  
  16. angular.module('starter.SignupCtrl',[])
  17. //var mongoose = require('mongoose'),
  18.  
  19. .controller('SignupCtrl',['$scope','$localstorage','$window', function($scope,$localstorage,$window)
  20. {
  21.  
  22.  
  23. $scope.signer = function(){
  24.  
  25.  
  26.     $scope.user = {
  27.         firstname: '',
  28.         lastname: '',
  29.         email: '',
  30.         dob: '',
  31.         phone:'',
  32.         gender:'',
  33.         password: ''
  34.  
  35.     }
  36. };
  37.  
  38. *********************************************************************
  39. app.js>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  40.  
  41. angular.module('starter', ['ionic', 'ionic.service.core', 'ngMaterial','LocalStorage', 'starter.LoginCtrl', 'starter.controllers','starter.SignupCtrl','ngCordova'])
  42.  
  43.  .state('auth.signup', {//linked
  44.                         url: '/signup',
  45.                         views: {
  46.                             'menuContent': {
  47.                                 templateUrl: "templates/signup.html",
  48.                                 controller: 'DashCtrl'
  49.                             }
  50.                         }
  51.                     })
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78. }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement