Still tinkering with ngCordova implementation