title: Execute function every 10 minutes with final 5
body: <p>I'm trying to execute a function in angularjs every 10 minutes with final minute 5, for example:
  Function will execute once [...] 11:05, 11:15, 11:25, 11:35, 11:45, 11:55 [...]</p>
  
  <p>I know I can set an interval like this, but I can't apply together:</p>
  
  <pre><code>function getStuff() {
     $http.get().success(function(data) {
         $timeout(getStuff, 5000);
     });
  });
  </code></pre>