New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-msgbox

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-msgbox

Angular JS Modal MessageBox

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

#Angular MsgBox

How to install

npm install angular-msgbox --save
bower install angular-msgbox --save
<script type="text/javascript" src="/bower_components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="/bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="/bower_components/angular/angular.js"></script>
<script type="text/javascript" src="/bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script type="text/javascript" src="/angular-msgbox.js"></script>
angular.module("app", ["msgbox"])
.controller("Controller", function($scope, $msgbox){
    $scope.show = function(){
        $msgbox.show("Hello World")
        .then(function(){
            $msgbox.show("Ok clicked", {
                title: "Success Title"
            });
        }, function(){
            $msgbox.show("Cancel clicked", {
                title: "Cancel Title"
            });
        });
    };
});

FAQs

Package last updated on 17 Aug 2015

Did you know?

Socket

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.

Install

Related posts