/angular-ui-router-rails

angular-ui-router-rails

Primary LanguageRubyMIT LicenseMIT

angular-ui-router-rails

angular-ui-router-rails wraps the Angular UI Router library for use in Rails 3.1 and above. Assets will minify automatically during production.

Installation

Add this line to your application's Gemfile:

gem 'angular-ui-router-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install angular-ui-router-rails

Usage

Add the following to your gemfile:

gem 'angular-ui-router-rails', :git => 'git@github.com:rodeschen/angular-ui-router-rails.git'

Add the forollowing directive to your Javascript manifest file (application.js):

//= require angular-ui-router

reference by apolishch/angular-ui-router-rails