AngularJS in Drupal Apps

Just a note to anyone looking to use this code… This is for demonstration purposes and if you’re going to build something like this for real, make sure you build it to appropriate standards.

The ang_node_api() function queries the node table directly without invoking Drupal’s internal APIs. If you’re running any type of advanced node access modules (nodeaccess, taxonomy_access, og, etc), those restrictions will not be taken into consideration.

It’s also going to display unpublished content to all users, and not filter the body contents.