나는 npm install --save angular-sweetalert
를 통해 angular-sweetalert^1.1.2
를 설치하고을 주입 에 시도 :angular-sweetalert + browserify : 설치/요구/주입하는 방법?
var app = angular.module('myApp', [
require('angular-sweetalert') // doesn't work
]);
을 나는 다음과 같은 오류 받고 있어요 : 그것은처럼
Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:modulerr] Failed to instantiate module undefined due to:
Error: [ng:areq] Argument 'module' is not a function, got undefined
보인다 depending on more :
은 앱에 파일을 포함합니다.
i. SweetAlert.min.js
ii. 달콤한 alert.js 또는 달콤한 alert.min.js
- 는 각도 (예에서 app.js)에서 모듈 포함 - 제대로 설치하는 방법을 oitozero.ngSweetAlert
어떤 아이디어/모듈이 필요하십니까?
미리 감사드립니다.