Last active
September 23, 2017 05:58
-
-
Save gpincheiraa/be45b178461a22cc53b5b6c14ff3b026 to your computer and use it in GitHub Desktop.
routes.js - First Impressions using jest for TDD over AngularJS > 1.5.x — Part I
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import '@uirouter/angularjs' | |
export function routes($stateProvider, $locationProvider) { | |
$locationProvider.html5Mode({ | |
enabled: true, | |
requireBase: false | |
}) | |
$stateProvider | |
.state("home", { | |
url: "/", | |
component: "todoList" | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment