You are here

function hook_angularjs_services in AngularJS 7

Provide a list of services exposed by this module

Parameters

string $version: The version of AngularJS being used on the site

Return value

array An array containing AngularJS services in the format provided to drupal_add_js

Related topics

1 function implements hook_angularjs_services()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

angularjs_angularjs_services in ./angularjs.module
Implements hook_angularjs_services

File

./angularjs.api.inc, line 75
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_angularjs_services() {
  return array(
    drupal_get_path('angularjs') . '/js/services.js' => array(),
  );
}