angular.js html5mode page refresh issue

I converted my angular.js project to html5mode everything was working good until I tried to refresh my page. I did a little research and find out it is related to server-side.

I add <base href="/index.html"> to my index.html in head before everything.

Then add $locationProvider.html5Mode(true).hashPrefix('!'); to my app config.

And as suggested in other questions I added these lines to my .htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

RewriteRule ^(.*) /index.html [NC,L]

But my problem is continues.

What should I do ?

Source: AngularJS