I have created Ionic 2 project.
1st i used Ionic 2.0.0 version. when use the
"ionic serve" command it is compiled my sample code and return as script in main.js file. and it’s working fine.
Then i used my project to Ionic 2.1.1 version.i used the same “ionic serve” command.
But the code is converted as string eval(“string”).
So it’s not working and shows undefined error.
Any one please suggest me what changes i need to do for using Ionic 2.1.1 version??