Last active
June 28, 2016 17:56
-
-
Save alecklandgraf/ae0d534fcb6167caa4ae1bc98b331a8f to your computer and use it in GitHub Desktop.
hello component route
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
| module.config(['$routeProvider', function ($routeProvider) { | |
| $routeProvider | |
| .when('/hello', { | |
| template: '<hello-nav me="$resolve.me"></hello-nav>', | |
| resolve: { | |
| 'me': ['Me', function (Me) { | |
| return Me.query().$promise; | |
| }] | |
| } | |
| }); | |
| }]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment