title: How can I test an AngularJS service from the console?
body: <p>I have a service like:</p>
  
  <pre><code>angular.module('app').factory('ExampleService', function(){
    this.f1 = function(world){
      return 'Hello '+world;
    }
    return this;
  })
  </code></pre>
  
  <p>I would like to <strong>test it from the JavaScript console</strong> and call the function <code>f1()</code> of the service. </p>
  
  <p>How can I do that?</p>