how many times can you spot the letter "e" in:
q: in ionic2, should i use html, javascript and css only if possible? suppose i am using ionic2 to create hybrid apps, and it is common that i can finish a job by either using features of ionic2+angular or just html+ javascript+css only, for example, click to disable a button:
html+ javascript+css only solution:
<div id="mydiv" onclick="(
  function(){ 
    document.getelementbyid('mydiv').style.display='none'; 
  }
)()">mydiv</div>

ionic2/angular feature solution:
<div [disabled]="isdisabled" (click)="myfunction();">mydiv</div>

in ts:
myfunction(){
  this.isdisabled=true;
}

so my question is, if a job can be done by either using features of ionic2+angular or just html+ javascript+css only, which one should i choose? 
i know somebody may ask: if you use ionic2 but not use its features, why do you use ionic2? but my idea is simple: 


*

*i use ionic2 just for its feature of cross-platform only

*if i use ionic2 specific feature, my codes can be maintained by the one who knows about ionic2 only, but if i just use html+javascript+css only, my codes can also be maintained by common web designers.


is my main idea correct?

a: 
if i use ionic2 specific feature, my code can be maintained by the one who knows about ionic2 only, but if i just use html+javascript+css only, my codes can also be maintained by common web designers.

that's always the tradeoff.  you have to decide if the benefits you get from doing it in iconic 2 are worth the cost of your developers learning iconic 2.
thought experiment: would we be even writing web pages at all unless we decided to learn html+ javascript+css?

a: sometimes the choice won't be only based on the benefits. 
if you are the only developer working on the project and you have the freedom of choice, i would suggest you to be pragmatic. choose the one you are more comfortable with.
that being said, and focused on the present, thinking about possible web designers maintaining the app is to make assumptions that might not happen. again i assume you are working solo.
if you aren't, would be good to sit with the team to look for consensus about what to do. at least sit with the developers.
whether you use ionic2 or html/css/js, try to be disciplined too. for the sake of the coherence and readability of the project. don't mix both indiscriminately.
note: if by any reason you badly need to mix both, it's ok. the walkarounds happen. just add a comment explaining the cause

user
There are 186 "e"s in the text you provided.
assistant