Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Mash up of Drupal and Angular -> Drangular

This module is to help facilitate the use of angularjs apps in Drupal pages.

Features include:

  • Bootstrapping of angular only on the paths where it is required.
  • Creation of a menu callback for pages that don't yet exist. Useful for propping up a single page app.
  • Minimal work required to prep angular application to be used inside drupal. Currently only one change needed to any paths specified in the angular app. Any templateURL must be prefixed with Drupal.settings.APP_NAME.modulePath.
    ie templateUrl: Drupal.settings.myapp.modulePath + 'views/main.html'
  • Multiple apps supported. More than one app can be defined and loaded to various paths.
  • Single Page apps as well as simply directives anywhere on the page get rendered.

Still under development and there are a few known bugs that are being addressed.

Project information