Is it possible to write a custom angularjs service that is available to all modules on a page but instantiated only once?
Very much like the global services e.g. $http provided by Angular.
In AngularJS services are singletons by default, see the developer guide for details.