angularjs

Preloading Images in AngularJS

I've been working on a prototyping tool using Ionic Framework that displays images. These images are app mockups that look exactly like the designer developed them. I associate "hotspots" to each image so that the user can tap a "button" and navigate to a new page or show additional "content…

Overriding a Directive in AngularJS

Recently, a bug was introduced into the Ionic Framework menu-close directive. It's an easy bug to overlook because the user has to do something unintuitive to encounter it. Here's a working example of the issue. The app loads on the Attendees List. If you tap a person, you'd go to…

Validation in Ionic Framework Apps with ngMessages

CREDIT : FYI: The general styling of the error messages are adapted from a sample provided by Malixsys on the Ionic Framework forum. I've whined many times about the form validation issues with AngularJS. I finally settled on my own version of dealing with this by using a custom directive. However…

Debugging Directives That Don't Load

Scenario : You come back to an AngularJS project after a few days. A major section of your app is no longer working. It was working great before. You realize that one of your directives is completely not loading. Throw a few logging functions in the link and they don't show…

Maps App Using Ionic Framework and Leaflet.js

At a recent AngularJS DFW Meetup, I gave a demonstration of using Ionic Framework and Firebase to create a race tracking demo. Several people asked for the code I used. I haven't gotten around to tidying it up and making it presentable for the world - too embarassed? So, here's…

Angular ngInclude Gotcha

I killed more time than I care to admit with an ngInclude problem with AngularJS. ngInclude should be pretty simple, but I was making it hard. When including, you have to tell where the code is to include. I was doing it like this: <ion-tabs class="tabs-energized tabs-icon-top">…