Action Sheet Error


#1

Why i am getting this error:
Error: [$injector:unpr] Unknown provider: ActionSheetProvider <- ActionSheet


#2

@mrameezraja since 0.9.20 the ionic components are prefixed with $ionic. For action sheet simply use $ionicActionSheet instead of ActionSheet. The docs are not up to date yet.


#3

You just saved my day. Thanks @daniel


#4

gah please keep the docs in sync! Been stuck on this for hours


#5

Sorry about that. I made the updates just now, but over the next few weeks we’ll be doing a fresh overhaul of all the documentation.