Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .state('pushNotifications', {
- url: '/pushNotifications',
- controller: 'PushNotificationsCtrl',
- templateUrl: 'packages/pushNotifications/partials/pushNotifications.html',
- resolve: {
- initialUsers: ['$q', function ($q) {
- var users = [
- { name: 'Hal Incandenza', deviceUuid: '123' },
- { name: 'Johnny Banana', deviceUuid: '456' }
- ];
- console.log($q.resolve);
- return $q.resolve(users);
- }]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement