Revert angular-gem and fix load dependency for js