title: Angularjs error Unknown provider
body: <p>I'm trying to display the configured values <code>author</code> and <code>version</code> in angular value service in html page.Version code is displayed fine but not the author name
  Here is the html code</p>
  
  <pre><code>    &lt;!doctype html&gt;
  &lt;html lang="en" ng-app="myApp"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;My AngularJS App&lt;/title&gt;
    &lt;link rel="stylesheet" href="css/app.css"/&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;ul class="menu"&gt;
      &lt;li&gt;&lt;a href="#/view1"&gt;view1&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#/view2"&gt;view2&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  
    &lt;div ng-view&gt;&lt;/div&gt;
  
    &lt;div&gt;Angular seed app: v&lt;span app-version&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;div&gt;Author is : &lt;span app-author&gt;&lt;/span&gt;&lt;/div&gt;
  
  
    &lt;script src="lib/angular/angular.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="js/filters.js"&gt;&lt;/script&gt;
    &lt;script src="js/directives.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is the directive...</p>
  
  <pre><code>angular.module('myApp.directives', []).
    directive('appVersion', ['version', function(version) {
      return function(scope, elm, attrs) {
        elm.text(version);
      };
    }])
    .directive('appAuthor', ['author', function(author) {
      return function(scope, elm, attrs){
          elm.text(author);
      };
    }]);
  </code></pre>
  
  <p>And here is the service portion where <code>author</code> and <code>version</code> values are configured</p>
  
  <pre><code>    angular.module('myApp.services', []).
    value('version', '0.1')
    .value('author','JIM');
  </code></pre>
  
  <p>The error i'm getting in developer console is </p>
  
  <pre><code>Error: Unknown provider: authorProvider &lt;- author &lt;- appAuthorDirective
  </code></pre>