title: Angular Module Dependency and controller
body: <p>I'm still learning angularjs, trying different free online tutorials, i made below app, but not sure why it's not working, i think it's the dependency, can anyone give me bit explanations please.</p>
  
  <p>my knowledge is super limited</p>
  
  <pre><code>&lt;div ng-app="app"&gt;
      &lt;span odometer="'200'"&gt;
      &lt;span odometer="visitors"&gt;
      &lt;span odometer="visitors" odometer-options="{theme: 'digital', duration: 3000}"&gt;
  
      &lt;div ng-controller="MyAngularishCtrl"&gt;
        Random number : {{AngularishRNGesus}}
      &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>below is my js file</p>
  
  <pre><code>var myApp = angular.module('app', ['ui.odometer']);
  
  app.controller('MyAngularishCtrl', function($scope, $interval) {
  
  $scope.AngularishRNGesus = 0;
  function update() {
      $scope.AngularishRNGesus = Math.round((Math.random() * 10) * 10);
  }
  $interval(update, 1000 * 2);
  });
  </code></pre>
  
  <p>if i remove dependency 'ui.odometer', then controller works, but if have it, then controller won't work, i m confused... help please
  please.</p>