jadjoubran / laravel5-angular-material-starter

Get started with Laravel 5.3 and AngularJS (material)
https://laravel-angular.readme.io/
MIT License
1.66k stars 401 forks source link

angular '$auth' cannot be injected correctly in the run block #472

Closed johndoe2509 closed 7 years ago

johndoe2509 commented 7 years ago

$auth is undefined in angular/run/routes.run.js , cannot set 'data: {auth: true}' for route

2017-02-12 10 42 57

2017-02-12 10 41 41

X-Anonymous-Y commented 7 years ago

same here....:

[14:11:11] ...\xampp\htdocs\laravel5-angular-material\angular\run\routes.run.js 1:49 error '$auth' is defined but never used no-unused-vars

✖ 1 problem (1 error, 0 warnings)

{ [ESLintError: Failed with 1 error] name: 'ESLintError', message: 'Failed with 1 error', showStack: false, showProperties: true, plugin: 'gulp-eslint', __safety: { toString: [Function: bound ] } }

X-Anonymous-Y commented 7 years ago

435

Helps me ;)

works fine!