angularjs-for-wordpress

AngularJS for WordPress is a plugin to help anyone easily leverage AngularJS in their theme

Homepage

Added by: Sam Deering

GitHub

Repository

royboy789/angularjs-for-wordpress

Stats

Stars: 124

Watchers: 124

Forks: 27

Author

Roy Sivan
Roy Sivan

Module Description

AngularJS for WordPress

What is it?

AngularJS for WordPress is a plugin to help anyone easily leverage AngularJS in their theme

Features

AngularJS for WordPress is being built to keep things simple for you. Using AngularJS directives so you don't have to do any JavaScript unless you want to.

Templating is a huge part of WordPress, and to keep the ease of use we have built in a template override system, just copy the 'angularjs-templates' directory from the plugin to your theme directory and you can customize how the directives render!

Directives

Directives are HTML elements that act as wrappers for AngularJS code. Functionality including the templates are injected where these elements are found.

Example: <ng-posts></ng-posts>

Shortcodes

Shortcodes are an easy way to add any custom functionality to your post or page without extra coding. Included in the plugin are shortcodes to input the AngularJS directives, so you don’t have to fuss with the code.

Available Shortcodes

  • [ng-post id="#"]
  • [ng-posts]

Read full shortcode documentation for full attribute list

Install Instructions

  • Download / Pull All Files
  • Install Plugin from zip file
  • Download & Install the WP API Plugin by Ryan McCue
  • Activate AngularJS for WordPress
  • Read docs for how to use directives and templates

You can also download from WordPress

Module stats last updated: 2017-03-17 16:00:04

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!