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

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

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

php - Cloud9 cloud IDE and CakePHP -