Tern completion for angular-ui-router


Sorry if I posted this in the wrong place.

Is it possible to achieve tern completion for angular-ui-router with vim?
I have basic completion working for something like
module.controller(“controller”, function($scope, $http) { $http.completion-works }

This does not work if I do something like

module.directive(“foo”, bar);
bar.$inject = ["$http"] // Note: I don’t even get completion on bar.$inject
function bar($http) { $http.completion-not-working }

I inject a lot of stuff in my angular apps so completion working in the latter example would be great.