angular2

No provider for ConnectionBackend for ionic 2  #angularjs #reactjs

  • I tried as some question similar says put the service on providers as this
  • Stack Overflow works best with JavaScript enabled
  • /shared/shared’; import {Http} from “@angular/http”; @Component({ templateUrl: ‘app.html’, providers: [EliteApi,Http] })
  • sign up log in tour help


@ng_real_ninja: No provider for ConnectionBackend for ionic 2 #angularjs #reactjs

im using ionic 2 and i create a simple service

after that on my page i import the service

and on the event loaded i wrote this to get the json data

i tried as some question similar here says put the service on providers as this

@NgModule({ providers: [ EliteApi

but also the same error

angular2

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.