Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. Uncaught Error: [$injector:nomod] Module 'app' 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.
  2.  
  3. <!doctype html>
  4. <html class="no-js" ng-app="app">
  5. <head>
  6.  
  7.  
  8. <meta charset="utf-8">
  9. <title>RAMS</title>
  10. <meta name="description" content="">
  11. <meta name="viewport" content="initial-scale=1, maximum-scale=1" />
  12. <link rel="stylesheet" href="//fonts.googleapis.com/css?family=RobotoDraft:100,100italic,300,300italic,400,500,700,900,400italic">
  13. <!-- Place favicon.png in the root directory -->
  14. <link rel="icon" type="image/png" href="favicon.png" />
  15.  
  16. <!-- build:css({.tmp/serve,src}) styles/vendor.css -->
  17. <!-- bower:css -->
  18. <!-- run `gulp wiredep` to automatically populate bower styles dependencies -->
  19. <!-- endbower -->
  20. <!-- endbuild -->
  21.  
  22. <!-- build:css({.tmp/serve,src}) styles/app.css -->
  23. <!-- inject:css -->
  24. <!-- css files will be automatically insert here -->
  25.  
  26.  
  27. <!-- endinject -->
  28.  
  29.  
  30. <link rel="stylesheet" href="../bower_components/highlightjs/styles/xcode.css">
  31.  
  32.  
  33. <!-- endbuild -->
  34.  
  35.  
  36. <link rel="stylesheet" href="https://js.arcgis.com/3.15/dijit/themes/claro/claro.css">
  37. <link rel="stylesheet" href="https://js.arcgis.com/3.15/esri/css/esri.css">
  38.  
  39.  
  40. </head>
  41. <body translate-cloak ng-class="bodyClasses">
  42.  
  43.  
  44.  
  45. <div class="full-height" ui-view></div>
  46.  
  47. <script>
  48.  
  49.  
  50. var dojoConfig = {
  51. baseUrl: '.',
  52. packages: [{
  53. name: 'dgrid',
  54. location: 'bower_components/dgrid',
  55. }, {
  56. name: 'dijit',
  57. location: 'bower_components/dijit',
  58. }, {
  59. name: 'dojo',
  60. location: 'bower_components/dojo',
  61. }, {
  62. name: 'dojox',
  63. location: 'bower_components/dojox',
  64. }, {
  65. name: 'dstore',
  66. location: 'bower_components/dstore',
  67. }, {
  68. name: 'esri',
  69. location: 'bower_components/esri',
  70. }, {
  71. name: 'put-selector',
  72. location: 'bower_components/put-selector',
  73. }, {
  74. name: 'xstyle',
  75. location: 'bower_components/xstyle',
  76. }]
  77. };
  78. </script>
  79.  
  80.  
  81. <script src="http://js.arcgis.com/3.15/"></script>
  82.  
  83.  
  84. <!-- build:js(src) scripts/vendor.js -->
  85. <!-- bower:js -->
  86.  
  87. <!-- endbower -->
  88.  
  89. <!-- enqueue all translations for calendar (remove if you dont need multilanguage) -->
  90. <script src="../bower_components/fullcalendar/dist/lang-all.js"></script>
  91.  
  92. <!-- endbuild -->
  93.  
  94. <!-- build:js({.tmp/serve,.tmp/partials,src}) scripts/app.js -->
  95. <!-- inject:js -->
  96. <!-- js files will be automatically insert here -->
  97. <!-- endinject -->
  98.  
  99. <!-- inject:partials -->
  100. <!-- angular templates will be automatically converted in js and inserted here -->
  101. <!-- endinject -->
  102. <!-- endbuild -->
  103.  
  104.  
  105. <div id="map"></div>
  106. <script>
  107.  
  108. var map;
  109. console.log("ready!");
  110.  
  111. require(["esri/map", "dojo/domReady!"], function (Map) {
  112. map = new Map("map", {
  113. basemap: "topo", //For full list of pre-defined basemaps, navigate to http://arcg.is/1JVo6Wd
  114. center: [-122.45, 37.75], // longitude, latitude
  115. zoom: 13
  116. });
  117. });
  118.  
  119.  
  120.  
  121. </script>
  122.  
  123.  
  124. </body>
  125.  
  126. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement