Android hardware back button in ionic2 RC0


#1
platform.ready().then(() => {
  // Okay, so the platform is ready and our plugins are available.
  // Here you can do any higher level native things you might need.
  StatusBar.styleDefault();
  platform.registerBackButtonAction(()=>{
    // some code
  },101)
});