File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
docs/angular-meteor/client/content/api-reference/angular1-meteor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222In 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:
2323
2424 meteor add angular-meteor-auth
25-
25+
2626 angular.module('myApp', [
2727 'angular-meteor',
2828 'angular-meteor.auth'
8888 template: '< my-component > </ my-component > ',
8989 resolve: {
9090 user: ($auth) => {
91- return $auth.requireValidUser((user) => {);
91+ return $auth.requireValidUser((user) => {
9292 if (user.firstName === 'Uri') {
9393 return true;
9494 }
Original file line number Diff line number Diff line change 9797 template: '< my-component > </ my-component > ',
9898 resolve: {
9999 user: ($auth) => {
100- return $auth.requireValidUser((user) => {);
100+ return $auth.requireValidUser((user) => {
101101 if (user.firstName === 'Uri') {
102102 return true;
103103 }
You can’t perform that action at this time.
0 commit comments