I didn\'t find a way to remove index.html from the url, because like this looks really ugly.
mydomain.com/index.html#/myview1 mydomain.com/index.html#/myview2 <
activate the html5mode for $location
$location