Modals in Creator

I’ve been trying to insert a modal into my Creator v1 project for hours. I’ve tried various examples, including pure JS/CSS modals and using IonicModal. It just doesn’t work - the result is either a white screen or the button does nothing. I’m using HTML pages.

This is one example I tried (can be found here). It would probably work, but my Creator doesn’t understand <ion-modal-view> , at least judging by the colour. Here’s the code:

<script id="my-modal.html" type="text/ng-template">
      <h1 class="title">My Modal title</h1>
angular.module('testApp', ['ionic'])
.controller('MyController', function($scope, $ionicModal) {
  $ionicModal.fromTemplateUrl('my-modal.html', {
    scope: $scope,
    animation: 'slide-in-up'
  }).then(function(modal) {
    $scope.modal = modal;
  $scope.openModal = function() {
  $scope.closeModal = function() {
  // Cleanup the modal when we are done with it!
  $scope.$on('$destroy', function() {
  // Execute action on hide modal
  $scope.$on('modal.hidden', function() {
    // Execute action
  // Execute action on remove modal
  $scope.$on('modal.removed', function() {
    // Execute action

These didn’t work either: / Modal boxes

There’s obviously something I’m doing wrong. Any ideas? I’m happy to provide more information, should it be needed.
Help would be greatly appreciated!