suparngp / scaffAngular

An IntelliJ Unit Test Manager Plugin for Angular JS
17 stars 10 forks source link

Migrate TemplateLoader to service #5

Closed suparngp closed 10 years ago

suparngp commented 10 years ago

The TemplateLoader is marked as an ApplicationComponent, which gets loaded everytime the IDE is started, regardless if user uses the plugin or not. It slows down the startup (not noticeable at the moment though). The template loader needs to be moves to an Application Service so that it gets loaded only once, when the user actually uses the plugin for the first time. The same instance will be used through out the session.