upgrading deps. rails 4.0. angular 1.2.