
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
angular-stackables
Advanced tools
AngularJS stackable widgets (modals, popovers, menus) that use HTML5 dialog
<div ng-controller="TestController as test">
<div stackable="test.isOpen"
stackable-modal="true"
stackable-disable-escape="false"
stackable-closing="test.modalClosing(err, result)"
stackable-closed="test.modalClosed(err, result)">
<div class="stackable-dialog">
<div inner-directive>
<p>Test Dialog</p>
</div>
</div>
</div>
</div>
function TestController() {
this.isOpen = false;
this.modalClosing = function(err, result) {
/* return false or a Promise that resolves to false to prevent close */
return true;
};
this.modalClosed = function(err, result) {
console.log('modal closed', err, result);
};
}
module.directive({
innerDirective: function() {
return {
restrict: 'A',
require: '^stackable',
replace: true,
transclude: true,
template: '<div ng-transclude></div>',
link: function(scope, element, attrs, ctrl) {
// use stackable controller API to close stackable programmatically
ctrl.close(null, 'closed from inner directive');
}
};
}
});
<div ng-controller="TestController as test">
<a class="btn" stackable-trigger="test.popoverState">
<i class="caret"></i>
</a>
<div stackable-popover="test.popoverState"
stackable-placement="bottom"
stackable-alignment="center"
stackable-enable-escape="true">
<h3 class="stackable-popover-title">Title</h3>
<div class="stackable-popover-body">
<p>Hello World</p>
</div>
</div>
</div>
<div ng-controller="TestController as test">
<a class="btn" stackable-trigger="test.menuState">
<i class="caret"></i>
</a>
<div stackable-popover="test.menuState"
stackable-hide-arrow="true"
stackable-placement="bottom"
stackable-alignment="right"
stackable-enable-escape="true">
<div class="stackable-popover-body">
<ul class="unstyled">
<li>
<a href="#">Menu Item</a>
</li>
</ul>
</div>
</div>
</div>
FAQs
angular-stackables
The npm package angular-stackables receives a total of 4 weekly downloads. As such, angular-stackables popularity was classified as not popular.
We found that angular-stackables demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.