Skip to content

chnoack/rails4_with_angularjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Rails4 + AngularJS 1.5

This is a fork of kirandc's very good example of putting together Rails 4 an AngularJS. I've forked it to make the example match my needs:

  1. haml templates
  • coffescript
  • mixed client and server side validation
  • use of Rails' I18N inside AngularJS
  • use Rails simple form views and AngularJS views in one app
  • use reusable Angular directives for input fields

Not all of theese targets have been achived yet. By now we're working at item 6.

The app contains an Account model with server-side generated standard Rails Simple Form UI. There is also a User model with a client-side AngularJS UI. Setting up your application this way enables you to use easy to build Simple Form UI for most of your views and AngularJS UI for dynamic views you would otherwise use JQuery for.

Installation

git clone https://github.com/chnoack/rails4_with_angularjs.git
cd rails4_with_angularjs
bundle install
rake db:reset
rails s

##License This is released under the MIT license.

About

Rails4 + AngularJS Nested forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 69.4%
  • HTML 22.6%
  • CoffeeScript 7.4%
  • Other 0.6%