Videogular – The HTML5 video player for AngularJS

Note: the demo embedded below might not work due to the source files only being available over HTTP, and this site being loaded over HTTPS. In that case you can check out the pen here Videogular is a video application framework for desktop and mobile powered by AngularJS Really nice player. Works way smoother than […]

ion-drawer-vertical – A vertical slide out panel (toggle panel) for Ionic

For a current Ionic project I’m working on I needed a vertical slide out panel (toggle panel) to store in some content that may be hidden by the user. As I couldn’t immediately find such a component in Ionic itself I decided to create one myself: ion-drawer-vertical (source available on GitHub). The result is a […]

Cordova build hook script for displaying build version in your app

#!/usr/bin/env node // This plugin replaces text in a file with the app version from config.xml. var wwwFileToReplace = "js/build.js"; var fs = require('fs'); var path = require('path'); var rootdir = process.argv[2]; function loadConfigXMLDoc(filePath) { var fs = require('fs'); var xml2js = require('xml2js'); var json = ""; try { var fileData = fs.readFileSync(filePath, 'ascii'); var […]

In love with Ionic Framework

UPDATE: Want to get a solid introduction to Ionic? I recommend reading Learning Ionic, a book I tech reviewed. Ionic offers a library of mobile-optimized HTML, CSS and JS components for building highly interactive apps. Built with Sass and optimized for AngularJS. Whilst Sass is just an extra (you don’t really need it), the true […]

ngCordova – Cordova with the power of AngularJS

module.controller(‘PictureCtrl’, function($scope, $cordovaCamera) { $scope.takePicture = function() { $cordovaCamera.getPicture({ // See all the possible Camera options from the Camera docs [1]: /// }).then(function(imageData) { // Success! Image data is here }, function(err) { // An error occured. Show a message to the user }); } }); ngCordova is a set of AngularJS extensions on […]

Angular Classy – Cleaner class-based controllers for AngularJS

Without Classy: app.controller(‘AppCtrl’, [‘$scope’, ‘$location’, ‘$http’, function($scope, $location, $http) { // … }]); With Classy: app.classy.controller({ name: ‘AppCtrl’, inject: [‘$scope’, ‘$location’, ‘$http’], //… }); Angular Classy →