That was a very vague error message when installing certain gems. What we need to do is:
For people who use Angular, calling
$timeout(fn) without a second parameter is a very familiar way of deferring execution.
Angular testing can be confusing. To make it less confusing, lets talk about a major part:
Sometimes when we pull from upstream origin in terminal, we see git prompting to enter vim. And if we left it hanging there and went ahead committing somewhere else, it would treat all those changes in master as your own contribution, because merge didn’t happen before commit.
This is an easy gotcha:
We don’t actually need
$sanitize to sanitize strings.
ng-bind automatically implements sanitizing in the background with
textContent. However, sometimes we need to pass string in as template in controllers and services, or pass it in as the exact content of “
name” attribute of an input, then
$sanitize doesn’t work anymore.
$ git diff > file_name.diff
$ git apply file_name.diff
Module parse failed: <...> You may need an appropriate loader to handle this file type.