Skip to content

Angular Explorer View

Angelo edited this page Jan 10, 2014 · 12 revisions

Angular Explorer View

Angular Explorer View gives you the capability to display lits of modules and controllers of your AngularJS application :

Angular Explorer view

This view is usefull for :

  • display modules, controllers, etc in a view and go to the definition if you double click on it (open the JS editor and select the module, controller).
  • AngularJS "HTML templates" where module and controller is not defined inside the HTML. So you can link module and controller to the current HTML editor to benefit with Angular expression completion.

TODO : finish dev.

How to configure the view?

Define script path

Script path is configurated in the Tern Project properties

Configure script path

Open "Angular Explorer" View

Open Angular Explorer view

Use the Angular Explorer view?

Go To Definition

The "Go To Definition" contextual menu gives te capability to open the JS editor and select the module, controller selected (you can do that too with double click) :

Go To Definition

HTML Template (Link/Unlink)