https://github.com/walkingriver/ion-error-dialog
An attempt to make a reusable error dialog based on the $ionicModal service.
https://github.com/walkingriver/ion-error-dialog
Last synced: about 2 months ago
JSON representation
An attempt to make a reusable error dialog based on the $ionicModal service.
- Host: GitHub
- URL: https://github.com/walkingriver/ion-error-dialog
- Owner: walkingriver
- Created: 2016-11-30T02:33:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-30T19:30:45.000Z (over 9 years ago)
- Last Synced: 2025-01-19T07:13:28.641Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ion-error-dialog
## What is it?
An attempt to make a reusable error dialog based on the $ionicModal service. The approach involves the tradeoffs between implementing the error dialog as an angular component versus an angular factory.
## Prerequisites
- Node 4.4
- Ionic Framework 1.3
## Quick Start
```
git clone git@github.com:walkingriver/ion-error-dialog.git
cd ion-error-dialog
npm install
bower install
ionic serve
```
When the web page launches, you will see two buttons.
1. The first button displays the error dialog through a component by setting a viewmodel property.
1. The second button launches the service-version of the error dialog by calling its showError method.