Created
February 6, 2015 09:21
-
-
Save creaux/7ae09e30229c13c2ce5a to your computer and use it in GitHub Desktop.
Routes for modules Routing
This file contains 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
export function routeProvider($routeProvider) { | |
$routeProvider.when( | |
"/whatever", { | |
action: "whatever.home" | |
} | |
).otherwise({ "action": "home" }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment