From 03742a8000f19efdf14791ff1aae52a90e86c149 Mon Sep 17 00:00:00 2001 From: Sameer Dhar Date: Tue, 8 Jul 2014 16:09:00 -0400 Subject: [PATCH] fix(app): fix dependency injection minsafe problem in auth service coffeescript. --- .../client/components/auth(auth)/auth.service(coffee).coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/client/components/auth(auth)/auth.service(coffee).coffee b/app/templates/client/components/auth(auth)/auth.service(coffee).coffee index 699d49dd4..d4b07f6d7 100644 --- a/app/templates/client/components/auth(auth)/auth.service(coffee).coffee +++ b/app/templates/client/components/auth(auth)/auth.service(coffee).coffee @@ -1,6 +1,6 @@ 'use strict' -angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootScope, $http, User, $cookieStore, $q) -> +angular.module('<%= scriptAppName %>').factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) -> currentUser = {} currentUser = User.get() if $cookieStore.get('token') @@ -113,4 +113,4 @@ angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootS Get auth token ### getToken: -> - $cookieStore.get 'token' \ No newline at end of file + $cookieStore.get 'token'