我目前正在与angularJS合作,我正在尝试建立一个主页。我的routeconfig看起来像这样:
var app = angular.module('mml-annie', ['mmlServices']);
app.config(['$locationProvider', function($location) {
$location.html5Mode(true); //now there won't be a hashbang within URLs for browers that support HTML5 h