Model Open button problem


I am not able to get my button working for the Modal . Can you please suggest what went wrong in my sample code ?

Not working :

Working code :

  • Code :

button class=“button button-icon ion-compose” ng-click=“”

Also modal appears to cover the full page and hide the parent when used with ion-nav-view

I am new to Ionic and not able to figure out why its not working , might be pretty simple … just cant pick it :frowning:

Appreciate your help