html5

Querying the DOM with Cached Views in Ionic Framework

Cached views are a blessing for navigating back and forth in an Ionic Framework apps. Caching helps with things like maintaining the scroll position in a back view. For example, if you're scrolled halfway down a list of customers and tap one of them to go to a detail view…

AngularJS Directives Naming Pitfalls

I've spent the last 20 minutes trying to figure out why my AngularJS directive was not working. Here's a sample of the directive: .directive("dataFolderItem", [ function() { return { "restrict" : "E", "replace" : true, "template" : "<p>Data Folder Item</p>", link : function(scope, elem, attr) { console.log("data folder…

Use Cards In Ionic For Mobile Form Goodness

After reading, please checkout the upcoming app, Kids In Touch. Have you ever tried to fill out an even slightly detailed form on a mobile device? It sucks, right? It becomes even worse when you have to start scrolling down to reach each portion of the form. Here's an example…