@peccul is peccu

(love peccu '(emacs lisp cat outdoor bicycle mac linux coffee))

angularticsが0.19.0から0.19.2に上がって、プラグインの個別指定が必要になった

マイナーバージョンアップなら大丈夫かなと、油断してました。 grunt buildするとangulartics-google-analyticsを読み込むscriptタグを消してくれるようになりました。

2015/7/28追記、0.19.3で、ビルドが壊れる人向けの修正が入ってました。

Updating changelog. · luisfarzati/angulartics@676845d · GitHub

追記終わり

Error: [$injector:modulerr] Failed to instantiate module someCoolApp due to:
[$injector:modulerr] Failed to instantiate module angulartics.google.analytics due to:
[$injector:nomod] Module 'angulartics.google.analytics' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

原因と解決方法

これで個別にインストールしてあげればよいです。

bower install angulartics-google-analytics --save

CHANGELOG.mdに書いてあって気づいたのですが、READMEにも書いてありました。

angularticsのプラグインが同梱から個別管理に変わっていくとのこと。

We are in process of migrating all plugins to their own repo under the new organization Angulartics. Once all plugins are splitted off the core, we'll migrate Angulartics as well.

https://github.com/luisfarzati/angulartics#update-2015-07-23

Core clean-up: all plugins will no longer part of Angulartics core, each one will have its own repo

CommonJS: all plugins will be packaged for npm, this means they will be importable à la CommonJS module style

Moved Google Analytics plugin to angulartics-google-analytics

https://github.com/luisfarzati/angulartics/blob/938bd3dc3c941cdd191de3542252d58be6e9af53/CHANGELOG.md#organizational-changes