UNPKG

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