added proper injections into angular module js for rails