title: Call external js file function in Angular js controller
body: <p>I have the external js file which has more functions.</p>
  
  <p>I need to call these functions from angular controller.</p>
  
  <p>For example: <strong>external.js</strong></p>
  
  <pre><code>...
  ...
  function fun() {
    ...
    ...
  }
  ...
  ...
  </code></pre>
  
  <p>Controller: <strong>acccountController.js</strong></p>
  
  <pre><code>myApp.controller('AddAccountController',function ($scope,AddAccountLoginServices,$location,localStorageService,$compile,toaster){
     ....
     ....
  
     $scope.getLoginForm = function(siteId,name) { 
              ...
              ...
              fun(); // This function from external.js file
     });
  
     ...
     ...
  
  });
  </code></pre>
  
  <p>I have imported external.js before the acccountController.js. But it doesnt calling that function. And also i have not get any console error for this.</p>
  
  <p>How to achieve this... Thanks in advance.</p>