Fixed duplicate resources.

Turns out AngularJS modules were already including the main AngularJS
resource. But each module included the main resource so if two modules
were enabled, the main resource would be included more than once.

Fixed this.