Answer the question
In order to leave comments, you need to log in
Why doesn't routing work in Angular?
I'm running the product locally on OpenServer.
routes.js:
angular.module('aredodatel')
.config(function($routeProvider) {
$routeProvider.when('offices.html', {
templateUrl: '/templates/building.html'
})
});
...
<div class="col-md-9 one-height floor">
<div ng-view></div>
</div>
.....
Answer the question
In order to leave comments, you need to log in
nothing in the console - here is the screen:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
zolpol-2
09/07/15 11:47:53
Apache/2.2.29 (Win32)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question