javascript - Unmatched route angularjs (ui-router) -
i wrote in app.js file line of code: $urlrouterprovider.otherwise('/view1'); this htaccess file: <ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} -s [or] rewritecond %{request_filename} -l [or] rewritecond %{request_filename} -d rewriterule ^.*$ - [nc,l] rewriterule ^(.*) /index.html [nc,l] </ifmodule> now, if try run myrul/invented_route response's server "not found" if otherwise route setted.