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.


Comments

Popular posts from this blog

angularjs - Showing an empty as first option in select tag -

python - argument 2 to map() must support iteration -

javafx - How to wait cancellation of task after Service#cancel? -