Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ui-router
- templateUrl: 'report.html',
- controller : 'GlobalDashboardController',
- resolve: {
- resolvedUserData : function() {
- return 'test'
- }
- }
- // then on the controller
- app.controller('GlobalDashboardController', ['resolvedUserData', function(resolvedUserData) {
- .
- .
- .
- }])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement