angularfire是官方支持 AngularJS binding for Firebase. Firebase is a 为您的服务器提供数据存储、身份验证和静态网站的后台服务
角的应用.
angularfire是核心客户的补充火力点。它为你提供了三个角
服务:
$firebaseObject- 同步对象$firebaseArray- synchronized collections$firebaseAuth- authentication, user management, routing
Join our AngularFire Google Group to ask questions, provide feedback, and share apps you've built with AngularFire.
Looking for Angular 2 support? Visit the AngularFire2 project here.
- Getting Started With Firebase
- Downloading AngularFire
- Documentation
- Examples
- Migration Guides
- Contributing
AngularFire requires Firebase in order to authenticate users and sync and store data. Firebase is a suite of integrated products designed to help you develop your app, grow your user base, and earn money. You can sign up here for a free account.
In order to use AngularFire in your project, you need to include the following files in your HTML:
<!-- AngularJS -->
<script src="https://ajax.c2cmalls.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/3.0.3/firebase.js"></script>
<!-- AngularFire -->
<script src="https://firebase.c2cbc.com/libs/angularfire/2.0.1/angularfire.min.js"></script>你也可以通过安装angularfire NPM和凉亭及其依赖项将下载
自动:
$ npm install angularfire --save$ bower install angularfire --saveIf you'd like to contribute to AngularFire, please first read through our contribution guidelines. Local setup instructions are available here.