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];

```
Remember that Angular is still JavaScript. You can use native js functions to do that.

Check out the [location](https://developer.mozilla.org/en-US/docs/Web/API/Location) documentation.

You can use [location.pathname](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname) to achieve what you want.

```
// http://myadress.com/#/example/url/here/param1
location.pathname.split('/') // --> ['', '#', 'example', 'url', 'here', 'param1']

```