Missed the injection of $ionicProvider