I am using AngularJS 1.6, and have a container on the page (panel) which has a component in it (clock).
Is it possible to embed an Angular 2.0 app inside my AngularJS 1.6 container?
Is this a scenario for ngUpgrade? I would like to avoid having to learn TypeScript just to demonstrate this integration.
Controller.js
'use strict';
var app = angular.module('app', []);
app.directive('clock', function() {
  return {
    restrict: 'E',
    scope: {
      timezone: '@'
    },
    template: '<div>12:00 {{timezone}}</div>'
  };
});
app.directive('panel', function() {
  return {
    restrict: 'E',
    transclude: true,
    scope: {
      title: '@'
    },
    template: '<div style="border: 3px solid #000000">' +
      '<div class="alert-box">{{title}}</div>' +
      '</div>'
  };
});
index.html
<html>
<head>
  <meta charset="utf-8">
  <script src="/bower_components/angular/angular.js"></script>
  <script src="js/controller.js"></script>
</head>
<body>
  <div ng-app="app">
    <panel title="Title for container">
      <clock timezone="PST"></clock>
    </panel>
  </div>
</body>
</html>
 
     
     
    