RSSAmplifier

Pace7 Blog · Mar 26, 2014

AngularJS + Martini: html5mode

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

By default AngularJS displays URL paths prefixed with a # symbol. This enables backwards compatibility with browsers that don’t support HTML5 history API. The AngularJS guide explains this in detail here To remove the # symbol and display more normal-looking URLs requires the use of html5mode in AngularJS. This is enabled via $locationProvider, for example: app.config(['$routeProvider',…

Read on blog.pace7.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.