File tree 2 files changed +3
-3
lines changed
docs/angular-meteor/client/content/api-reference/angular1-meteor
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
In order to use this service, you will need to add the package to your project and add it's module as a dependency to your AngularJS app:
23
23
24
24
meteor add angular-meteor-auth
25
-
25
+
26
26
angular.module('myApp', [
27
27
'angular-meteor',
28
28
'angular-meteor.auth'
88
88
template: '< my-component > </ my-component > ',
89
89
resolve: {
90
90
user: ($auth) => {
91
- return $auth.requireValidUser((user) => {);
91
+ return $auth.requireValidUser((user) => {
92
92
if (user.firstName === 'Uri') {
93
93
return true;
94
94
}
Original file line number Diff line number Diff line change 97
97
template: '< my-component > </ my-component > ',
98
98
resolve: {
99
99
user: ($auth) => {
100
- return $auth.requireValidUser((user) => {);
100
+ return $auth.requireValidUser((user) => {
101
101
if (user.firstName === 'Uri') {
102
102
return true;
103
103
}
You can’t perform that action at this time.
0 commit comments