Skip to content

Wrong code in the article #4

Description

@leostera

Just under the Hashbangs or HTML5 History URLs? title, in the 3rd code block it reads:

//get the module from creating an angular module
angular.module('HTML5ModeURLs', []).config(['$routeProvider', function($route) {
  $route.html5Mode(true);
}]);

Where it should be $locationProvider (regardless of the injected variable name).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions