-
Angular.js
Learning Angular: Verifying whether a function has been passed to my directive’s isolated scope
When you create isolated directives, you usually use the scope property to define your directive’s external API. Some of the…
Read More » -
Angular.js
Learning Angular: Access directive scope variables from directive controllers and vice versa
Angular directives can have a separate, isolated scope, which is even the suggested approach most of the time. And they…
Read More » -
Angular.js
Learning Angular: Useful utility functions
Today a very short post. Angular has a series of utility functions which you should definitely take a look at.…
Read More » -
JavaScript
Kudos for your site – powered by Firebase
I don’t quite remember, guess it was about more than a year ago when I came across a Svbtle-hosted blog…
Read More » -
Angular.js
Learning Angular: Unit Testing watch expressions
Today I wanted to write a unit test for a watch expression on my controller. What seemed quite obvious initially,…
Read More » -
JavaScript
Avoid test code duplication in Jasmine tests
Test code has to be treated like production code. Obviously we cannot charge the customer for it, it’s something that…
Read More » -
JavaScript
JavaScript Promises Essentials
JavaScript is asynchronous by definition which is what makes many server-side developers struggle initially. Many even try to avoid asynchronism…
Read More » -
Angular.js
Learning Angular: What is the scope of your directive?
This might create quite some debugging headaches, especially in a larger application. Things don’t bind properly, have different data on…
Read More » -
JavaScript
Sublime Tip: Enable spell checking when you write Markdown
This is a huge lifesaver and I don’t know how I couldn’t come up with this before. Check out this…
Read More »