
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
angular-search
Advanced tools
A lightweight Angular search widget
# using bower:
bower install --save angular-search
# .. or, using NPM:
npm install --save angular-search
<div ng-controller="mainCtrl">
<search
class="size-medium"
param="searchText"
placeholder="Search"
search="search($param)"
></search>
<a ng-click="clear()">Clear</a>
</div>
angular
.module('demo', ['turn/search'])
.controller('mainCtrl', function ($scope) {
angular.extend($scope, {
searchText: '',
clear: function() {
$scope.searchText = '';
$scope.search();
},
search: function (param) {
...
}
});
});
<search
<!-- css class(es) -->
class="size-medium"
<!-- disable the input when $scope.foo evaluates to true -->
disabled="foo"
<!-- param to update in the model when the user presses ENTER -->
param="searchText"
<!-- placeholder text when the input is empty -->
placeholder="Search"
<!--
search function to call (passed the search string),
should be defined on the controller's $scope
-->
search="fn($param)"
<!-- submit onKeyUp rather than onSubmit -->
typeAhead="true"
></search>
bower install
npm install
grunt watch
bower install
npm install
node server/index
then open demo/index.html in a browser
bower install
npm install
grunt test
FAQs
A lightweight Angular search widget
We found that angular-search 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
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.