title: Different html files and Same controller Angular JS
body: <p>Can more than one HTML files have a single controller in angular js?
  eg: </p>
  
  <pre><code>var app = angular.module('myApp', []);
  app.config(function($routeProvider){
      $routeProvider.when("/users",{
          templateUrl: "/project/views/users.html"
          controller: "myCtrl",
          resolve: {}
      });
      $routeProvider.when("/admin",{
          templateUrl: "/project/views/admin.html"
          controller: "myCtrl",
          resolve: {}
      });
  });
  </code></pre>
  
  <p>This is just a rough code, so can you please tell me whether can I use it like this? and why...!
  Thanks in advance.</p>