title: Substring in Angularjs using filters?
body: <p>I am having the following array that i want to manipulate in DOM using Angularjs with some filters</p>
  
  <pre><code>$scope.urls = [{
      path: 'http://a.com/index'        
      }, {
       path: 'http://a.com/home'        
      }, {
      path: 'http://a.com/etc'        
      }, {
      path: 'http://a.com/all'        
     }];
  </code></pre>
  
  <p>I had tried to substring the path using filters but it is not working.</p>
  
  <p><a href="http://jsfiddle.net/yPE6j/" rel="nofollow">Fiddle Demo</a></p>
  
  <p>Any help is great.</p>