All Books 93 Stack Overflow 82 Daily Thoughts 78 Ionic 61 Miscellaneou$ 60 Quick tips 43 CodeProject 36 NodeJS 27 Programming 22 JavaScript 18

Getting started with React by building a Pokemon search application

TL;DR In the previous tutorial I showed you how to get started with Vue.js 3 by building a Pokemon search application. I’m going to do the same here,…

Getting started with Vue.js 3 by building a Pokemon search application

TL;DR In the previous tutorial I showed you how to get started with Vue.js 3 by building a Giphy search application. That was a long while ago 🙂,…

This is How Your Parents Used CSS and JavaScript

TL;DR This is the second part of the "This is How Your Parents Used to Build Websites". The first blog post is here. Now, if you thought our…

This is How Your Parents Used to Build Websites

TL;DR Hey future web wizards! Are you ready to embark on your journey into the vast world of web development? This post is your beginner-friendly guide to HTML.…

Using Puppeteer to automate ASC Analytics screenshots

TL;DR I was trying to automate my manual process of logging into ASC (App Store Connect) and taking a screenshot of the crashes, and preparing a report that…

const life = change();

They (supposedly, originally, Heraclitus) say that the only true constant in life is change. A JavaScript programmer in you might write that like this: const life = change();…

Getting started with Vue.js 3 by building a Giphy search application

TL;DR In this post, you’ll learn how to use Vue CLI to build a Vue.js 3 application for searching Giphy’s GIFs by using their API. Introduction – The…

Intro to OOP in JavaScript

TL;DR This post will not be a regular step by step post as I usually do it; this will rather be a collection of some notes from a…

Making AJAX calls using the Fetch API

TL;DR In this post we’ll do everything we did in the second post, but with Fetch API. What’s this Fetch API? The almighty docs say The Fetch API…

Making AJAX calls using jQuery

TL;DR In this post we’ll do everything (and a bit more ?) we did in the first post, but with jQuery. Why is jQuery better? I prepared this…

Making AJAX calls in pure JavaScript

Making AJAX calls in pure JavaScript TL;DR In this, beginner oriented, post I’ll show you how to make AJAX calls in pure JavaScript, step by step with few…

Don’t name your global JavaScript function ‘clear’

TL;DR Same as the title, don’t name your global JavaScript function clear. TL;DR I learned the hard way not to use clear as the name for my global…

Getting started with Vue.js 2 by building a Giphy search application

TL;DR This tutorial follows the same pattern as this Angular 2 post. You’ll learn how to use Vue CLI to build a Vue.js 2 application for searching Giphy’s…

JWT authentication in an Angular application with a Go backend

TL;DR In this tutorial, I’m going to show you how to build a simple web app that handles authentication using JWT. The frontend will be written in Angular…

How to create an Android Cordova plugin for showing Toast popups

TL;DR In this post, I’m going to show you step by step how to build a Cordova plugin for Android that shows a native Toast popup. You can…

How to polish our existing Ionic3 calculator application

This is the third post in a series of posts which will teach you how to take advantage of your web development knowledge in building hybrid applications for…

How to make Ionic 1 app look good on iPhone X

In this post, I’ll show you how to make your Ionic 1 app look good on iPhone X. The instructions below assume you have the old Ionic CLI…

How to add PayPal to Ionic 1 apps

TL;DR In this tutorial, I’m going to show you how to add the option of paying with PayPal to your Ionic 1 apps. The demo project is on…

Cordova Ionic Plugin for Search Ads App Attribution API

TL;DR Cordova plugin for reading Search Ads App Attribution on iOS 10.0+ only with an Ionic demo showcasing its usage. The Search Ads API plugin for Cordova/Ionic didn’t…

How to use deep linking in Ionic 1 apps with Ionic Native Deeplinks plugin

In this tutorial, I’m going to show you how to use deep linking in Ionic 1 apps with Ionic Native Deeplinks plugin that’s originally made for Ionic 2…

How to create icons and splash screen images automatically in Ionic framework 3

⚠️ In case you’re looking for how to create icons and splash screen images automatically in Ionic framework version 1, then you can check out this post. For…

How to make money with Google AdMob ads in Ionic framework 3

In case you’re looking for a way to implement Google AdMob ads in Ionic framework 1, then check out this tutorial: Adding AdMob to Ionic framework application step…

How to create a calculator application with Ionic framework 3 by using Ionic Creator for UI

This is the second post in a series of posts which will teach you how to take advantage of your web development knowledge in building hybrid applications for…

How to get started with Ionic framework 3 on Mac and Windows

This is the first post in a series of posts which will teach you how to take advantage of your web development knowledge in building hybrid applications for…

How to create the simplest TODO application with Ionic 3

TL;DR This is the simplest example which shows how to create a simple TODO application with Ionic 3 in just a few lines of code. Quickstart To see…

Posting data from Ionic 3 app to a PHP server

TL;DR This is the simplest example which shows how to POST data from an Ionic 3 app to a PHP server. The tutorial covering the Ionic version 1 can be…

4th Ionic framework meetup in Čakovec

Our 4th Ionic Framework Meetup was held last Thursday, 13th of October. It was titled Designing with Macaw, and it was all about design this time. I would…

Cordova plugin for VoIP push notifications

TL;DR This plugin didn’t exist, so I made it – Cordova plugin for receiving VoIP push notifications on iOS 8.0+ only. Installation For Ionic: ionic plugin add cordova-ios-voip-push…

How to use http in Angular 2 via angular-cli?

I initially tested and wrote a tutorial for Pluralsight by using the angular-cli version 1.0.0-beta.9. However, I’ve tried today with the latest version and for the life of…

3rd Ionic framework meetup in Čakovec

Yesterday I held the third Ionic framework meetup in Čakovec titled Getting started with Angular 2. I showed how to get started with Angular 2 by using the…

Raneto Google OAuth login

TL;DR Raneto allows only basic username/password authentication, so I added Google OAuth support. This option can be turned on by setting the googleoauth option in the config.default.js file…

2nd Ionic Framework Meetup Čakovec

Last week I held the second Ionic framework meetup in Čakovec. I talked about how to get started with Test Driven Development in Ionic framework, and we had…

Build an Ionic app for searching gifs using Giphy API

Last week I held the first Ionic framework meetup in Čakovec. Hereby I would like to thank Goran Levačić, the leader of incubation and education in TICM, for…

Getting started with Angular 2 by building a Giphy search application

My first tutorial about Angular 2 was just published on Pluralsight. You can read the post here: Getting started with Angular 2 by building a Giphy search application.…

Introduction to TDD in Ionic framework

TL;DR In this rather long post, I’m going to give you an introduction to Test Driven Development in Ionic. First ,I’m going to cover some basic theory concepts…

How to Launch an Ionic Web App – Where Should Ionic Server be Running?

In this StackOverflow question I answered how to launch an Ionic web app I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently…

How to use Exis to Create a Chat App in Ionic

This is a guest blog post from Exis where they explain how to use Exis to create a chat app in Ionic. Exis is a BaaS startup based…

When is it appropriate to use ion-pane in Ionic Framework?

In this StackOverflow question I answered when it is appropriate to use ion-pane in Ionic Framework I’m a big fan of Stack Overflow and I tend to contribute…

60th SQL/DEV User Group meeting

Finally, I got my 5 minutes (well, OK, 45 to be exact) of fame 🙂 I was presenting Ionic Framework to  fellow developers on the 60th SQL/DEV UG…

How to build a shopping app with Ionic Framework and Firebase

The sixth post about Ionic framework for Pluralsight was about making use of Firebase when building a real-time shopping TODO application. You can see the post here: How to build…

Showcasing Ionic Apps For a Portfolio Without Publishing Them to App Stores

In this StackOverflow question I answered how to showcase your Ionic apps for a portfolio without publishing them to App Stores I’m a big fan of Stack Overflow and…

Ionic Framework: A definitive 10,000 word guide

The fifth post about Ionic framework for Pluralsight is actually a condensed (well, if you can call a 10,000+ word article condensed ;)) article of the series so…

Cordova and Ionic SMS Receiver

In this StackOverflow question I answered why it isn’t possible to read SMS in Ionic application which you want to deploy to Apple’s App Store I’m a big fan…

Ionic framework 2 is in beta

Ok, true, this “news” is few days old now and I’ve been slow to post about it. Nevertheless, this is awesome news as I’m really excited about the…

Wrap your web application into an executable with nativefier in a single command

In this post I’ll show you how you can quickly turn any website into an executable with nativefier in a single command. I just stumbled upon an awesome…

Why doesn’t window.something throw an error?

In this StackOverflow question I asked why doesn’t window.something throw an error I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in…

Why am I getting Unexpected token ‘\u0000’ when using npm install -g package

In this StackOverflow question I answered what to do when you get an unexpected token ‘\u0000’ error when using npm install -g to install some package. I’m a big…

What do Yeoman Generators “really” add to Ionic Projects?

In this StackOverflow question I answered what do actually Yeoman Generators add to the Ionic projects. I’m a big fan of Stack Overflow and I tend to contribute…

How to test Cordova plugins without device

In this StackOverflow question I answered which Cordova plugins you can test without the actual device. I’m a big fan of Stack Overflow and I tend to contribute…

Posting data from Ionic 2 app to a PHP server

TL;DR This is the simplest example which shows how to POST data from an Ionic 2 app to a PHP server. The tutorial covering the Ionic version 2 can be…

Ionic – how to handle when external api server is offline?

In this StackOverflow question I answered how to handle when external API server is offline. I’m a big fan of Stack Overflow and I tend to contribute regularly (am…

I made it to the top of StackOverflow’s all time answerers list for Ionic tag

I’m a big fan of Stack Overflow, and I tend to contribute regularly (am currently in the top 0.X%). As you may know, I’m really into Ionic framework…

How to run Node.js server in Ionic mobile app?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Connect to MongoDB remote server with Ionic

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to check for outdated packages via npm

In this post I’ll show you the modules which help in finding the outdated packages via npm. This is an excerpt from the book Deploying Node.js by Sandro…

How to run Ionic serve permanently?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to send an email in Ionic framework application?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to publish the app to the Apple’s App Store and Google’s Play Store

edit: These posts don’t exists in their separate form anymore. Instead, they have been merged into one big post that you can read here. But, in case you…

Ionic 1.2 is out!

The team from Ionic announced their new 1.2 version today. This should get you very excited because the things these guys are making are truly praiseworthy. As they say…

How to polish, create icons and splash screen images, add ads, share and test our calculator application

In my third tutorial about Ionic framework for Pluralsight, I’m going to show you how to: polish, create icons and splash screen images, add ads, share and test…

How to deploy Ionic as a website?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to create a calculator application with Ionic framework by using Ionic Creator for UI

edit: the old link is not working anymore and all four posts have now been merged into one huge post: Ionic Framework: A definitive 10,000 word guide. In…

ionic plugin add phonegap-plugin-push results in a 404 Not Found Error

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Firebase $authWithOAuthRedirect doesn’t call $onAuth without page refresh

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Use navigator.geolocation or $cordovaGeolocation in Ionic

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to design a two column button in Ionic framework

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

My new post about Ionic on Pluralsight

I haven’t posted in three weeks now, but there’s a good reason for it – I was preparing a post for Pluralsight on the topic of Ionic. This…

How to test Cordova plugins in Ionic without a device?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Why am I getting Unexpected token ‘\u0000’ when using npm install -g package

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Ionic is wordpress for mobile apps

As the official blog post nicely states mobile just changed forever How come? Well, as the post says Google started indexing iOS 9 apps that support the HTTP deep…

Build an app for distribution with Ionic Package

As just announced on the official blog post IonicPackage now lets you build an iOS app for distribution on Windows machine. This indeed is a huge news. However, don’t…

How to override a function when creating a new object in the prototypal inheritance?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to use ECMAScript 6 features in Ionic framework?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

List globally installed Node.js packages on your machine

To list globally installed Node.js packages on your machine you can run the following command: ls `npm root -g` and it will just list globally installed packages, like…

Subversion ignored files for Ionic Framework

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Android/iOS app with Django as backend

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Where to get .xap file in Windows using ionic build?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to populate select in Ionic Creator

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

How to retain Ionic sidebar on every page?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Ionic announces Ionic Market – make money with the framework you love

Ionic publically announced Ionic Market on their blog. On the market (http://market.ionic.io/) you can buy (and even sell): project starters (Firebase, Parse, Heroku, etc…) plugins (swipable cards, timepickers, maps,…

Check network information change with Ionic framework

TL;DR In this tutorial, I’m going to quickly show you how to get network information change with Ionic framework. What do I mean by network information change? Well,…

Ionic announces Ionic Lab – a GUI tool replacement for Ionic CLI

From the official blog post, Ionic just announced a new shiny tool called Ionic Lab; which is a GUI tool that tends to be a replacement for the well…

How to redirect users if there is no Internet connection in Ionic framework?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

Use Ionic or Cordova?

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts, I will be posting my…

npm ERR! peerinvalid The package node-inspector does not satisfy its siblings’ peerDependencies requirements

Recently I was reinstalling ionic and cordova with: npm install -g cordova ionic but I got the following error: E:\IonicTesting>npm install -g cordova ionic npm WARN engine [email protected]:…

Show Interstitial Ad via AdMob in Ionic every 2 minutes

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts I will will be posting…

Reference the inputs created with ng-repeat in angular based on the number of variable options

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts I will will be posting…

How to add a comment field to MEAN.js Article example

If you happen to like the image above, and you’re thinking to yourself how cool it would look like as a sticker, take a look at a few…

cordova-plugin-whitelist Error 404 not found

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts I will will be posting…

How to get your MEAN stack up and running in less than a minute

Over the past year I’ve tried lots of options for hosting my MEAN applications, and finally I’ve settled for DigitalOcean. It’s true what they advertise – that you…

Using nginx as a reverse proxy in front of your Node.js application

This is a straight to point short tutorial on how to set up NGINX as a reverse proxy in front of a Node.js application, and although this is not…

Ionic View Manage Apps

I’m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%). In this category (stackoverflow) of posts I will will be posting…

Adding AdMob to Ionic framework application step by step

In case you’re looking for a way to implement Google AdMob ads in Ionic framework 3, then check out this tutorial: How to make money with Google AdMob…

Ionic Analytics Alpha

From an official blog post, Ionic Analytics Alpha gives you all the data you need to better understand and optimize your push notifications, deployments, and much, much more.…

Posting data from Ionic app to PHP server

TL;DR This is the simplest example which shows how to POST data from an Ionic app to a PHP server. The tutorial covering the Ionic version 2 can be…

Using PM2 to run your Node.js apps like a pro

Previously I wrote about running Node.js apps with Nodemon and Forever but nowdays I’m using the ever so slightly more professional PM2. Running your Node.js application by hand is, well,…

Ionic Deploy Alpha enables app update on the fly

Yesterday (10.06.2015) Ionic announced the Deploy Alpha which enables you to update your app without having to wait for the review & approval. They say that Ionic Deploy…

ng-wat is the funniest video about Angular you’ll ever see

ng-wat is the most awesome video I’ve seen presented at any official conference. It was presented by the ever so slightly awesome developer Shai Reznik. Anyways, take a look…

Ionic has a bright future by partnering with IBM

This is indeed awesome, as it hopefully means that Ionic is here to stay, so that all of us who use it won’t have to fear for it’s…

Pluralsight WebGL and Three.js fundamentals course notes

Recently I bought a years worth subscription over at Pluralsight (here’s my portfolio of passed courses), and here I’ll be posting my notes from the courses that I…

Cannot start OpenDebug because Mono (or a Mono version >= 3.10.0) is required when debugging Node.js applications with free Visual Studio Code on a Mac

This error come up when I tried to use the debugging tools for Node.js program using Visual Studio Code, as outlined in their official tutorial. The solution was…

Codeschool JavaScript Best Practices Notes

I finished the course at CodeSchool, and below are my notes from it. Level 1 Ternary howto with SIAF var allPacked = true; var readyToGo = true; var adventureTime;…

Angular CodeSchool Notes

Here are my notes from a free CodeSchool tutorial sponsored by Google: Things I wish I were told about Angular.js. Binding <!DOCTYPE html> <html> <head> <title>AngularJS Tutorials</title> </head> <body> <div…

Codeschool Express.js Notes

Building blocks of Express.js on CodeSchool,  notes below… If you’re interested for more in depth tutorial about Node.js and Express, make sure you check out the 2nd tutorial…

Handling Ionic CORS issue

CORS = Cross origin resource sharing – a pain in the butt when trying to do an ajax request when developing locally. For local testing I ended up using…

Speeding up Angular development with Yeoman

Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. To do so, we provide a generator ecosystem. A generator is basically…

Keep your Node.js scripts running with Forever and Nodemon

edit (18.06.2015): Nowdays I’m using PM2, and here’s my post that explains how to use PM2. Nodemon is a utility that will monitor for any changes in your source and…

How to use Redis with Node.js

Redis is an open source, BSD licensed, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs. Comparison with Memcache and Memcached can be…

Create icons and splash screen automatically with ionic resources

In Ionic framework you can use the ionic resources command to automatically generate icons and splash screen of different sizes and for optionally different platforms (iOS, Android). All you have…

How I built my own testable The Answer To Life The Universe And Everything npm module

TL;DR: In this short tutorial I’ll show you how I built my own testable (Jasmine) npm module which I then published to npm repository. The npm module is here,…

How to host multiple Node.js applications with multiple different domains on one VPS with Nginx

First things first, if you bought your domain elsewhere then you first need to point that domain to your server. You basically have two options here installing, setting…

How to get all of your own Facebook posts and parse them with JavaScript

So, first you need to download all the data that Facebook has stored for you (well, and what it’s willing to give you :)). You can do that…

MEAN T-shirt graphic, presentation and video

Since I’m all into MEAN stack lately, I made a custom graphic for a MEAN T-shirt. Also, I made the presentation and a talk for hack.hands(). I’m giving the…

JavascriptBattle

Lately I’ve been playing at JavascriptBattle, which is a fun and engaging web application intended to make artificial intelligence (AI) design accessible to all. Every day, your code will be…

JavaScript event loop video explanation

Awesome short video about JavaScript event loop One cool thing I didn’t know is that you can defer something right after the end of the stack. So for…

Converting a JavaScript switch statement into a function lookup

I just read a great post on WebTools Weekly newsletter about how to convert a JavaScript switch statement into a function lookup. Here’s the full content from there,…

How to delete node_modules folder on Windows machine?

Due to its folder nesting Windows can’t delete the folder as its name is too long. To solve this, install RimRaf: npm install rimraf -g and delete the…

MEAN.io VS MEAN.js and deploying the latter on DigitalOcean

What are they? MEAN.(io + js) are both full-stack JavaScript frameworks, and they are both comprised of these technologies: MongoDB – leading NoSQL database, empowering businesses to be more agile and…

Simple official Spritz API usage

TL;DR: See it in action here or here, and official site here. Spritz – change the way people read and make communication faster, easier, and more effective. So, there has…

Make a Flappy Bird clone with Phaser

Flappy Bird – no info as anyone who may be reading this knows about it 😉 Phaser – open source desktop and mobile HTML5 game framework supporting both JavaScript…