Base solution for your next web application

Activities of "thechrismarsh"

FYI ... There is a pull request at the datamaps repo that fixes this, but it had not been merged. The code hasn't had a commit to master in over 5 months. It looks stale.

I tried to accept it back in October 2017 but don't have write access to merge the pull request ... <a class="postlink" href="https://github.com/markmarkoh/datamaps/pull/378">https://github.com/markmarkoh/datamaps/pull/378</a>

Make sure you inject the location provider to the config ...

appModule.config([
    '$stateProvider', '$urlRouterProvider', '$locationProvider',
    function ($stateProvider, $urlRouterProvider, $locationProvider) {

        $locationProvider.html5Mode(true);

Also make sure you add this to the head of the layout.cshtml view ...

<head>
	<base href="/">

following these two steps alone worked for me ... <ins><span style="color:#0040FF">/Application#/host/tenants</span></ins> turns into <ins><span style="color:#0040FF">/host/tenants</span></ins>

Showing 1 to 2 of 2 entries