Uten angularjs,ionic,ngcordova etc. Bare ren javascript