centresource / angularjs_rails_demo Goto Github PK
View Code? Open in Web Editor NEWA fleshed out demo of Rails / Angular.js integration
License: Other
A fleshed out demo of Rails / Angular.js integration
License: Other
I understand for brevity the author omitted the controller specs, however, is it possible for you to include them (either in master or in another branch) so that we can see how they should be written. I am currently trying to bootstrap my Rails app with AngularJS and it would be great to have it than figure it out.
Since the Angular code was moved out of the asset pipeline the following is raising an exception when I run Jasmine:
An error is thrown in IE due to this line:
$xhr.defaults.headers.delete['X-CSRF-Token'] = token;
I believe it's due to delete being a keyword - is there a way around this? The issue causes the example not to work in IE.
The linked vimeo videos seem to be private and not viewable.
Part I gives some background about why we need a javascript framework in the first place.
Part 2 dives into this demo application, including detailed explanation of Angular.js controllers, resources, and templates, as well as where the files reside in the Rails 3.1 file hierarchy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.