refactor: use `$` prefix only for variables reserved for AngularJS usage

Closes #162
chore(tests): rewrite specs with sinon-chai

Closes #163