jmbledsoe / angularjs-visualstudio-intellisense

Visual Studio extension providing statement completion for injected AngularJS components in JavaScript files.
MIT License
110 stars 22 forks source link

Add recursion depth limit for callComponentFunctions() #11

Closed EvAlex closed 9 years ago

EvAlex commented 9 years ago

Test that reproduces the error:

angular.module('recursionTest', ['ng'])

    .service('svc1', ['$q', function ($q) {
        return {
            requestData: $q.defer().promise
        };
    }])

    .service('svc2', ['svc1', function (svc1) {        
        //svc1.requestData.
    }]);
jmatthiesen commented 9 years ago

Hey, @EvAlex, did you close this because it was no longer an issue for you?