1
vote
0answers
22 views

AngularJS and Rails template engines

As a Rails guy, I love me some Haml or Slim. However, I haven't had much luck with either when it comes to using AngularJS. Is there a templating engine that is AngularJS friendly and is less verbose ...
2
votes
1answer
38 views

angularjs: allows only numbers to be typed into a text box

In angularjs is there any functionality available that allows only numbers to be typed into a text box like
0
votes
1answer
44 views

How do I append more data to an AngularJS model?

So far I'm having no issue setting up an AngularJS model in my Rails application and giving it data to access on the front-end. I even set it up to be populated with data from an AJAX request using ...
0
votes
2answers
42 views

AngularJS filter - Ruby on Rails assets:precompile issue

I used AngularJS in Ruby on Rails. I used the currency filter with custom symbol. <span>{{value|currency:'¥'}}<span> The filter works fine in development enviroment. ¥1,000.00 ...
0
votes
1answer
26 views

Unable to sign out Devise user when concurrent requests are not finished

The classical application structure for Devise authentication gem is server-side only Rails application. In this case when one signs out nothing prevents the session destruction. But I am using ...
0
votes
1answer
109 views

How do I load AngularJS bootstrap module correctly?

In my Rails app, I have ui-bootstrap-0.2.0.js in the vendor/assets/javascripts directory. I have required the file in my application.js file. I get an error when I specify the bootstrap as my ...
3
votes
2answers
90 views

Looking for paradigm to use for generic error handling in Angular from a JSON response from Rails

I'm building an app which is architected as a Rails server app providing RESTful api's to the client. The Rails server uses RABL. The client is an Angular JS client performing standard $http calls ...
1
vote
1answer
49 views

trouble using angularjs with slim in a rails project

I've finally decided to give angularjs a whirl and i'm running into some early trouble. I'm using Rails 3.2 and the Slim template gem for the view. I'm just trying the example from the angularjs ...
0
votes
1answer
56 views

AngularJS pre-render with rails

Is there any way that we can pre render angularJS template in rails and then send only html to client ? I want to solve the real problem with SEO, even if we have an alternative way to use ...
0
votes
2answers
106 views

Display some html until final page is loaded

I am using rails to make a search request. The search form's action is a certain path "/results/foo" .. which hits a controller that does some validation of input and then redirects to ...
1
vote
0answers
100 views

Rails Angularjs Development Process

I've been using Angularjs with Rails and as I get further into it I am finding Rails and Angularjs each taking on a character as separate apps. I have also experimented with Yeoman some and I really ...
-6
votes
0answers
81 views

What is a RESTtful backend? [closed]

I keep seeing mention of things like this: "Backbone.js communicates well with RESTful backends" I am not so interested in why Backbone works well but could some explain just what a "RESTful ...
0
votes
1answer
53 views

Angular and Rails shallow resources

Rails offers a :shallow option to nested resources, which I rely on, because otherwise I'd have 4 or 5 nested resources, which would be very bad. Shallow resources look like this: resources :posts ...
0
votes
1answer
31 views

Prevent AngularJS interpolation in certain DOM hierarchies

I use AngularJS and have some parts of HTML that I don't wish to interpolate because it contains user inputted data. So potentially the data may have {{asdf}} in there that I don't want AngularJS to ...
0
votes
0answers
70 views

angular and rails partial locals

I'm trying to parameterize angular JS variables inside my rails partials, I have searched for the right syntax and couldn't able to get one. Not sure if I'm trying to do something that's not gonna ...

1 2 3 4 5
15 30 50 per page