Last active
August 29, 2015 14:19
-
-
Save kasperlewau/751d8d18d6b12f691e40 to your computer and use it in GitHub Desktop.
ui-sref-lazy lazy module
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
/** lazy module **/ | |
function config ($stateProvider) { | |
$stateProvider.state('root.about', { | |
url: '/about' | |
}); | |
}); | |
export default angular | |
.module('lazyModule', ['ui.router']) | |
.config(config); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment