Skip to content

Gkodkod/angularjs-for-wordpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularJS for WordPress

What is it?

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

V3

Now works with JSON REST API v2

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 the REST API team.
  • Activate AngularJS for WordPress
  • Read docs for how to use directives and templates

You can also download from WordPress

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 56.5%
  • JavaScript 31.9%
  • HTML 11.6%