title: Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.14/$injector/modulerr
body: <p>I am trying to inject an emoji app into my project.
  I have added the <a href="https://github.com/Coraza/angular-emoji-popup/" rel="nofollow">emoji.min.js</a> and referenced it like this</p>
  
  <pre><code>&lt;script type="text/javascript" src="js/emoji.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Now I am also injecting it into my project like this:</p>
  
  <pre><code>angular.module('ionicApp', ['ionic','ngSanitize','emojiApp'])
  </code></pre>
  
  <p>Immediately I inject the <code>emojiApp</code>, 
  I get the following error.</p>
  
  <blockquote>
    <p>Uncaught Error: [$injector:modulerr]
    <a href="http://errors.angularjs.org/1.2.14/" rel="nofollow">http://errors.angularjs.org/1.2.14/</a>$injector/modulerr?p0=ionicApp&amp;p1=Error%…gleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.2.14%2Fangular.min.js%3A29%3A115)</p>
  </blockquote>
  
  <p>===================EDITTED=============</p>
  
  <p>Completed injected file</p>
  
  <pre><code>angular.module('ionicApp', ['ionic','LocalStorageModule','ngImgCrop', 'btford.socket-io', 'angularMoment','ngCordova','ngResource','ngSanitize','emojiApp'])
  </code></pre>
  
  <p>Complete script used in the index file</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://maps.google.com/maps/api/js"&gt;&lt;/script&gt;
  
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"&gt;&lt;/script&gt;
  &lt;!--    css scripting for fan page search--&gt;
  &lt;!--&lt;link href="http://code.ionicframework.com/1.0.0-beta.9/css/ionic.css" rel="stylesheet"&gt;--&gt;
  &lt;!--cdn for isportline css fonts--&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"&gt;
  
  
  &lt;!--    for the ionic lightbox--&gt;
  &lt;link rel="stylesheet" href="css/lightbox.css"&gt;
  &lt;!--increase the height and the width of the ionic lightbox--&gt;
  
  &lt;!-- Ionic framework - replace the CDN links with local files and build --&gt;    
  
  &lt;link href="lib/ionic/css/ionic.css" rel="stylesheet"&gt;
  &lt;link href="css/style.css" rel="stylesheet"&gt;
  &lt;!--&lt;link rel="stylesheet" href="css/autocomplete.css"&gt;--&gt;
  
  &lt;!-- ionic/angularjs js --&gt;
  &lt;script src="lib/ionic/js/ionic.bundle.js"&gt;&lt;/script&gt;
  &lt;!--    &lt;script src="http://code.ionicframework.com/0.9.27/js/ionic.bundle.min.js"&gt;&lt;/script&gt;--&gt;
  
  
  &lt;!--fan page search resource--&gt;
  &lt;!--  &lt;script src="http://code.angularjs.org/1.2.12/angular-resource.js"&gt;&lt;/script&gt;--&gt;
  &lt;script src="lib/ionic/js/angular/angular-resource.min.js"&gt;&lt;/script&gt;
  &lt;!-- &lt;script type="text/javascript" src="js/autocomplete.js"&gt;&lt;/script&gt;--&gt;
  &lt;script src="lib/angular-local-storage/dist/angular-local-storage.min.js"&gt;&lt;/script&gt;
  &lt;script src="dist/ng-cordova.min.js"&gt;&lt;/script&gt;
  &lt;script src="js/ng-crop.js"&gt;&lt;/script&gt;
  &lt;script src="js/loader-image.js"&gt;&lt;/script&gt;
  &lt;script src="cordova.js"&gt;&lt;/script&gt;
  &lt;script src="js/app.js"&gt;&lt;/script&gt;
  &lt;script src="js/services.js"&gt;&lt;/script&gt;
  &lt;script src="js/controllers.js"&gt;&lt;/script&gt;
  
  &lt;script src="lib/moment/min/moment.min.js"&gt;&lt;/script&gt;
  &lt;script src="lib/angular-moment/angular-moment.min.js"&gt;&lt;/script&gt;
  
  &lt;script src="lib/sio-client/socket.io.js"&gt;&lt;/script&gt;
  
  &lt;script src="http://192.168.19.12:3000/socket.io/socket.io.js"&gt;&lt;/script&gt;
  
  &lt;script src="lib/angular-socket-io/socket.js"&gt;&lt;/script&gt;
  
  &lt;script src="js/services/SocketService.js"&gt;&lt;/script&gt;
  
  &lt;script src="js/controllers/HomeController.js"&gt;&lt;/script&gt;
  &lt;script src="js/controllers/RoomController.js"&gt;&lt;/script&gt;
  
  &lt;!-- emoticon scripting --&gt; 
  &lt;script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.7/angular-sanitize.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/config.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/emoji.min.js"&gt;&lt;/script&gt;
  &lt;link type="text/stylesheet" rel="stylesheet" href="css/emoji.min.css" /&gt;
  </code></pre>
  
  <p>Please what am I getting wrong. Kindly Assist!</p>