Skip to content
项目

关于

一个用于 Rails 的简单 Angular.js 封装

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

angularjs-rails Gem Version

angularjs-rails wraps the Angular.js library for use in Rails 3.1 and above. Assets will minify automatically during production.

If you find this gem useful, please consider donating - your contributions will help me keep this gem updated.

paypal

Usage

Add the following to your Gemfile:

gem 'angularjs-rails'

Add the following directive to your JavaScript manifest file (application.js):

//= require angular

If you desire to require (optional) Angular files, you may include them as well in your JavaScript manifest file (application.js). For example:

//= require angular-animate
//= require angular-resource

To use the 'unstable' branch, add the following directive to your JavaScript manifest file (application.js):

//= require unstable/angular2

Versioning

Every attempt is made to mirror the currently shipping Angular.js version number wherever possible.

The major, minor, and patch version numbers will always represent the Angular.js version.

IMPORTANT: Requesting upgrades for new Angular.js versions

To request that the latest version of Angular.JS be pushed as a gem to RubyGems, please create a new issue instead of pull requests.

探索相关项目

加载中…