Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // route configuration for adding resolve block
- $routeProvider.when('/classes/:classId', {
- controller: 'ClassCtrl',
- templateUrl: TEMPLATE_CACHE + '/classByStudent.html',
- reloadOnSearch: false,
- resolve: {
- data: 'some_value'
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement