I remember, somewhere, that
private methods, for design best practice reason I guess, weren’t allowed to be called from the html pages. Therefore, if a
private method would have been used in an html pages, the build compilation used to throw an error … well if that’s correct, seems it is not the case anymore.
Could someone could tell me, first, if I’m totally wrong? and if not, if you notice the same unexpected behavior?
P.S.: I noticed that error because I just wrote a private method I only call from the html page
'navigateToDetail' is declared but never used.
P.P.S.: Same behavior noticed with
ionic server or
ionic cordova build android --prod