amend($ionicConfigProvider): fix typo, add unit tests