• Blogs (9)
    • 📱 236 - 992 - 3846

      📧 jxjwilliam@gmail.com

    • Version: ‍🚀 1.1.0
  • Angularjs: Hashbang and HTML5 Modes

    Blogs20142014-06-29


    Angularjs: Hashbang and HTML5 Modes

    $location service has 2 configuration modes which control the format of the URL in the browser address bar:

    1. Hashbang mode (the default)
    2. HTML5 mode which is based on using the HTML5 History API.

    Applications use the same API in both modes and the $location service will work with appropriate URL segments and browser APIs to facilitate the browser URL change and history management.

    The help image is from https://docs.angularjs.org/guide/$location: