You are here

function angularjs_examples_nodes in AngularJS 7

Page callback for node example.

1 string reference to 'angularjs_examples_nodes'
angularjs_examples_menu in modules/angularjs_examples/angularjs_examples.module
Implements hook_menu().

File

modules/angularjs_examples/angularjs_examples.module, line 93

Code

function angularjs_examples_nodes() {
  angularjs_init_application('nodelist');
  drupal_add_js(drupal_get_path('module', 'angularjs_examples') . '/js/nodelist.js');
  return theme('angularjs_examples_nodes');
}