Why not able to inject '$scope' service in the service layer? If i add $scope inside the array, it brings the injection error.
app.service('LoginService', [ '$log', '$http', '$rootScope', '$scope', '$location', function($log, $http, $rootScope, $scope, $location) {