Skip to content

Instantly share code, notes, and snippets.

@galbus
Last active August 29, 2015 14:09
Show Gist options
  • Select an option

  • Save galbus/267664515608019702d8 to your computer and use it in GitHub Desktop.

Select an option

Save galbus/267664515608019702d8 to your computer and use it in GitHub Desktop.
Using Wordpress as an API with 'yo angular'
# Bower - Must
bower install angular-ui-router --save
bower install modernizr --save
bower install smartmenus --save
# Bower - Optional
# bower install ngInfiniteScroll --save
# bower install Shuffle --save
# bower install slick-carousel --save
# NPM/Grunt
npm install grunt-build-control --save-dev
npm install grunt-ng-constant --save-dev
# Controllers - Core
yo angular:controller home
yo angular:controller nav
yo angular:controller page
yo angular:controller post
yo angular:controller posts
yo angular:controller search
# Controllers - Custom
# yo angular:controller work
# yo angular:controller works
# Directives
yo angular:directive onFinishRender
yo angular:directive shuffleJs
yo angular:directive slickSlider
# Filters
yo angular:filter apiUrl
# Services
yo angular service apiService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment