marijnh/tern — pull request #292 by angelozerr (2014-02-13 13:51:13+00:00)
Title: Add originNode for module and filter.

It's the first patch to improve angular plugin to stores each elements of angular (modules, controllers, filters, etc) and store their node information to give the capability to "go the the definition" to an angular element.

Here this patch :

* store the originalNode for the module. This info is usefull to manage "go the the defition" for a module. You can see sampleat https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Features#wiki-hyperlink-1
* store the filter in the given module in a filters object. This object contains the originalNode (like module to manage "go to the definition" for filter and fn type.

I have removed the apply of injection for filter (why it was done like this?)

Perhaps filters should be store in the metadaData of module like includes? I have created this patch to discuss about that and if you accept this patch, I will create other for controllers, services, etc