angular-messagebox
v1.0.0
Published
a highlevel encapsulation of angular-ui-bootstrap:$modal service
Downloads
18
Maintainers
Readme
angular-messagebox
a highlevel encapsulation of angular-ui-bootstrap:$modal service
thanks for angular-dialog-service
what i done :
- refact all code with angular-styleguide
- fix ng-bind-html bugs with angular 1.3.x
- remove angular-translate
- remove customer create dialog
usage:
demo on coding:http://angular-messagebox.coding.io/
gulp clean
gulp build
angular
.module('your.module',['ui.bootstrap','angular-messagebox'])
angular
.module('your.module')
.controller('YourController',['MessageBox',function(MessageBox){
//MessageBox.error('title','msg');
//...
}])
好吧...我这蹩脚的英文到这结束了...下面是中文
- 遵循项目中目前使用的Angular-styleguide,重构了全部代码
- 修正了在angular1.3.x中使用ng-bind-html时会抛出的安全检查异常
- 移除了angular-translate
- 移除了自定义dialog的功能,纯粹做为MessageBox实现