codeforseoul / -deprecated-showcase

Getting involved with open projects
5 stars 2 forks source link

environment for Angular.js #1

Closed pretty00butt closed 9 years ago

pretty00butt commented 9 years ago

@corneadoug are there any libraries you use mainly like ui-router?

corneadoug commented 9 years ago

Never used ui-router before, but it looks cool

chaabaj commented 9 years ago

i used ui-router and its very good library. It support nested views:+1:

pretty00butt commented 9 years ago

right. stateProvider is much better than routeProvider to me. But It's the first time to use angular.js on gem for me, so that I think I need to study more

chaabaj commented 9 years ago

Yes maybe we don't need if we generate the views in the server and use just angular in the generated page

pretty00butt commented 9 years ago

@chaabaj you're right. which way is better, @mozodev ? Angular router or Rails router?

mozodev commented 9 years ago

In my humble opinion, wouldn't it be better that rails could be used just for backend api and angular takes whole control of frontend.

corneadoug commented 9 years ago

That's usually how it works