[6a3a178] | 1 | # packaged angular
|
---|
| 2 |
|
---|
| 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the
|
---|
| 4 | [main AngularJS repo](https://github.com/angular/angular.js).
|
---|
| 5 | Please file issues and pull requests against that repo.
|
---|
| 6 |
|
---|
| 7 | ## Install
|
---|
| 8 |
|
---|
| 9 | You can install this package either with `npm` or with `bower`.
|
---|
| 10 |
|
---|
| 11 | ### npm
|
---|
| 12 |
|
---|
| 13 | ```shell
|
---|
| 14 | npm install angular
|
---|
| 15 | ```
|
---|
| 16 |
|
---|
| 17 | Then add a `<script>` to your `index.html`:
|
---|
| 18 |
|
---|
| 19 | ```html
|
---|
| 20 | <script src="/node_modules/angular/angular.js"></script>
|
---|
| 21 | ```
|
---|
| 22 |
|
---|
| 23 | Or `require('angular')` from your code.
|
---|
| 24 |
|
---|
| 25 | ### bower
|
---|
| 26 |
|
---|
| 27 | ```shell
|
---|
| 28 | bower install angular
|
---|
| 29 | ```
|
---|
| 30 |
|
---|
| 31 | Then add a `<script>` to your `index.html`:
|
---|
| 32 |
|
---|
| 33 | ```html
|
---|
| 34 | <script src="/bower_components/angular/angular.js"></script>
|
---|
| 35 | ```
|
---|
| 36 |
|
---|
| 37 | ## Documentation
|
---|
| 38 |
|
---|
| 39 | Documentation is available on the
|
---|
| 40 | [AngularJS docs site](http://docs.angularjs.org/).
|
---|
| 41 |
|
---|
| 42 | ## License
|
---|
| 43 |
|
---|
| 44 | The MIT License
|
---|
| 45 |
|
---|
| 46 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org
|
---|
| 47 |
|
---|
| 48 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
---|
| 49 | of this software and associated documentation files (the "Software"), to deal
|
---|
| 50 | in the Software without restriction, including without limitation the rights
|
---|
| 51 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
| 52 | copies of the Software, and to permit persons to whom the Software is
|
---|
| 53 | furnished to do so, subject to the following conditions:
|
---|
| 54 |
|
---|
| 55 | The above copyright notice and this permission notice shall be included in
|
---|
| 56 | all copies or substantial portions of the Software.
|
---|
| 57 |
|
---|
| 58 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
| 59 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
| 60 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
| 61 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
---|
| 62 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
---|
| 63 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
---|
| 64 | THE SOFTWARE.
|
---|