Tag: AngularJS
-
Extracting function logic from controllers
Let’s clean up our controller by extracting some logic to independent functions. It’s not as boring as it sounds.
-
Converting a controller function into a class
How to convert an AngularJS controller function into a class.
-
How to refactor ancient AngularJS code
So you’ve got a project that still runs on AngularJS? Let’s refactor.
-
Four JavaScript Tools Every Web Designer Should Know About
Here’s four tools to add functionality to your website, written from a web designer’s perspective.
-
I am $error
If you ever played Zelda II, you might remember getting stumped when you came across the guy that said “I am Error”. Likewise, the validation errors in AngularJS can make you scratch your head.
-
An ngPattern of things to come
Let’s look at how we can use the ngPattern directive to check answers in our quiz question.