Overview The AngularJS documentation is a little ambiguous about the differences between a service and factory. It doesn’t go into depth about the most common usage case for factories, and that’s how to use parameters to create new objects. I use factories so that I can inject a function into my AngularJS code that creates […]
From Our Blog
Here are my top 7 best practices for working with $scopes in AngularJS. Learn how to work better with AngularJS by following the lessons in this tutorial. #1 – Keep the $rootScope clean of variables This rule is based on the idea that the $rootScope is a global variable and falls under the best practice […]AngularJS
This tutorial will explain how to delete duplicate records in a MySQL table while picking which record will be used as the single record. Since MySQL 5.1 there has been a feature for ALTER to IGNORE duplicate records when creating a unique index, but there are a couple of problems with using this extension.
Oh My Zsh Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, and themes. The benefit of this shell are the highly customizable themes. The themes can offer you easy to read details that are related to the current context of […]
AutoJump autojump is a self-learning directory changer for navigating your filesystem. It works by maintaining a database of the directories you use the most from the command line. As soon as it’s installed it’ll start saving you time. Making easy to switch to the directories that are most important to you.