Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>simple problem I can not figure out</title>
- <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular.js"></script>
- <script type="text/javascript">
- (function() {
- 'use strict';
- var myAppModule = angular.module('myApp', []);
- myAppModule.service('testService', function (testService) {
- });
- myAppModule.config(['testService',
- function (testService) {
- }]);
- })();
- </script>
- </head>
- <body >
- <div ng-app="myApp">
- <div>
- myApp Here
- </div>
- </div>
- </body>
- </html>
- myAppModule.config(['testServiceProvider',
- function (testServiceProvider) {
- }]);
Add Comment
Please, Sign In to add comment