Why does not the framing parameter work.?


#1

The following code works. The output looks like on the link, but the code does not work if I do it like this:

<ion-view view-title="Trap Detay">
  <ion-content>
 		{{token}}
      <iframe width="100%" height="469" src="http://chessmicrobase.com/microbases/10/games/206?token=it1aqxop&embedded=1#cp-" frameborder="0"></iframe>
         
  </ion-content>
</ion-view>

but it does not work when I add parameters to the code.

.controller('italianTuzakCtrl', function($scope,$stateParams) {
  
  $scope.token = $stateParams.code;
})

#2

can you specify you js files as well to get exact problem