Guest User

Untitled

a guest
Oct 19th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>simple problem I can not figure out</title>
  6.  
  7. <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular.js"></script>
  8.  
  9. <script type="text/javascript">
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. var myAppModule = angular.module('myApp', []);
  15.  
  16. myAppModule.service('testService', function (testService) {
  17. });
  18.  
  19. myAppModule.config(['testService',
  20. function (testService) {
  21. }]);
  22.  
  23. })();
  24.  
  25. </script>
  26.  
  27. </head>
  28. <body >
  29. <div ng-app="myApp">
  30. <div>
  31. myApp Here
  32. </div>
  33. </div>
  34. </body>
  35. </html>
  36.  
  37. myAppModule.config(['testServiceProvider',
  38. function (testServiceProvider) {
  39. }]);
Add Comment
Please, Sign In to add comment