Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
angular-resource
Advanced tools
AngularJS module for interacting with RESTful server-side data sources
This repo is for distribution on npm
and bower
. The source for this module is in the
main AngularJS repo.
Please file issues and pull requests against that repo.
You can install this package either with npm
or with bower
.
npm install angular-resource
Add a <script>
to your index.html
:
<script src="/node_modules/angular-resource/angular-resource.js"></script>
Then add ngResource
as a dependency for your app:
angular.module('myApp', ['ngResource']);
Note that this package is not in CommonJS format, so doing require('angular-resource')
will
return undefined
.
bower install angular-resource
Add a <script>
to your index.html
:
<script src="/bower_components/angular-resource/angular-resource.js"></script>
Then add ngResource
as a dependency for your app:
angular.module('myApp', ['ngResource']);
Documentation is available on the AngularJS docs site.
The MIT License
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1.3.7 leaky-obstruction (2014-12-15)
createMap()
for $$observe
listeners when initialized from attr interpolation
(8e28bb4c)getterFn
(c90ad968)(key,value)
part of micro-syntax
(ef640cbc,
#6827, #6833)valueOf
/toString
on null
(a097aa95,
#10385, #10386)ng-attr
with camelCased attributes
(d8e37078,
#9845, #10194)locals
argument to $evalAsync
(9b96cea4,
#10390)$interpolate
attribute values at link time if changed since compile
(9ae0c01c)Previously, if either value being compared in the orderBy comparator was null or undefined, the
order would, incorrectly, not change. Now, this order behaves more like Array.prototype.sort, which
by default pushes null
behind objects, due to n
occurring after [
(the first characters of their
stringified forms) in ASCII / Unicode. If toString
is customized, or does not exist, the
behavior is undefined.
<a name="1.2.28"></a>
FAQs
AngularJS module for interacting with RESTful server-side data sources
The npm package angular-resource receives a total of 72,158 weekly downloads. As such, angular-resource popularity was classified as popular.
We found that angular-resource demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.