add spinner dialog mock into ng cordova mock