(Using: Bootstrap 3.3.6, AngularJS 1.4.8, Angular UI Bootstrap 0.14.3, Font-Awesome 4.5)
30 |This Demo of Angular-Dialog-Service is the same as the demo for using the service without Angular-Translate. Except now the service checks to see if Font-Awesome has been loaded and will automatically use Font-Awesome icons instead of the Bootstrap "glyphicons," in the header of the predefined dialogs.
Previously glyphicons were hard wired in, if you didn't include the Bootstrap version with the glyphicons because you were using Font-Awesome instead, then nothing appeared in the dialog headers. Now the service will automatically detect that you're using Font-Awesome and include the equivalent icons for each predefined dialog.
31 |
Confirmation: {{confirmed}}
48 |Name Enter (From Custom): {{name}}
49 |Custom 2 Value: {{custom.val}}
50 |(Using: Bootstrap 3.3.6, AngularJS 1.5.0, Angular UI Bootstrap 1.1.2, Angular-Translate 2.8,1)
30 |Demo of Angular dialog service using Bootstrap 3 with Angular and Angular UI Bootstrap's modal service.
31 |As well as the use of Angular-Translate (https://github.com/angular-translate)
Confirmation: {{confirmed}}
50 |Name Enter (From Custom): {{name}}
51 |Custom 2 Value: {{custom.val}}
52 |Current Language: {{language}}
53 |(Using: Bootstrap 3.3.6, AngularJS 1.5.0, Angular UI Bootstrap 1.1.2)
29 |This Demo of Angular-Dialog-Service features an automatic substitution for Angular-Translate. It will detect whether or not Angular-Translate is loaded; if not it will use the included translate substitute (translate.sub) module. The translate substitution is small and modeled after Angular-Translate so that if in the future you wish to use Angular-Translate all you need to do is load the module (pascalprecht.translate) before this dialogs module.
30 |The result, Angular-Translate (https://github.com/angular-translate) is now optional, its no longer an absolute dependency. If your application does not need a translation module then there is no need to include Angular-Translate anymore. You can however still set default modal button, header and message text via $translateProvider in your module's config function.
Confirmation: {{confirmed}}
49 |Name Enter (From Custom): {{name}}
50 |Custom 2 Value: {{custom.val}}
51 |