Question: I would like to get my all url parts after "/". Example:

```
http://myadress.com/#/example/url/here/param1

Result: ['example', 'url', 'here'].

```

But `$routeParams` returns only object with route parameters `{param1: 'param1'}`

How can I do this ?

Answer: 
You can take url parts like this

```
var pathArray = window.location.pathname.split( '/' );

```

to get result from string.

```
var secondLevelLocation = pathArray[0];

```
Another alternative to Jo\_bast's answer would be to use hash rather than pathname as hash will start after the /#/

Both are correct, just different ways of using $window.location. Using hash, however, prevents you from having to deal with the path before the hash(#) in the url.

```
var path = $window.location.hash.split('/');
var path1 = path[1]; //example;
var path2 = path[2]; //url;

```

etc...